Package arc.graphics.g2d
Class Fill
java.lang.Object
arc.graphics.g2d.Fill
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
arc
(float x, float y, float radius, float fraction) static void
arc
(float x, float y, float radius, float fraction, float rotation) static void
arc
(float x, float y, float radius, float fraction, float rotation, int sides) static void
circle
(float x, float y, float radius) static void
static void
crect
(float x, float y, float w, float h) static void
dropShadow
(float x, float y, float width, float height, float blur, float opacity) Draws a centered drop shadow.static void
dropShadowRect
(float x, float y, float width, float height, float blur, float opacity) Draws an uncentered drop shadow.static void
static void
static void
poly
(float[] vertices, int length) static void
poly
(float x, float y, int sides, float radius) static void
poly
(float x, float y, int sides, float radius, float rotation) static void
static void
static void
static void
polyEnd()
static void
polyPoint
(float x, float y) static void
quad
(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) static void
quad
(float x1, float y1, float c1, float x2, float y2, float c2, float x3, float y3, float c3, float x4, float y4, float c4) static void
quad
(TextureRegion region, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) static void
rect
(float x, float y, float w, float h) static void
rect
(float x, float y, float w, float h, float rot) static void
static void
rects
(float x, float y, float w, float h, float skew) static void
square
(float x, float y, float radius) static void
square
(float x, float y, float radius, float rotation) static void
tri
(float x1, float y1, float x2, float y2, float x3, float y3)
-
Constructor Details
-
Fill
public Fill()
-
-
Method Details
-
quad
public static void quad(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) -
quad
public static void quad(float x1, float y1, float c1, float x2, float y2, float c2, float x3, float y3, float c3, float x4, float y4, float c4) -
quad
public static void quad(TextureRegion region, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) -
tri
public static void tri(float x1, float y1, float x2, float y2, float x3, float y3) -
dropShadowRect
public static void dropShadowRect(float x, float y, float width, float height, float blur, float opacity) Draws an uncentered drop shadow.- Parameters:
x
- shadow bottom left Xy
- shadow bottom left Y
-
dropShadow
public static void dropShadow(float x, float y, float width, float height, float blur, float opacity) Draws a centered drop shadow.- Parameters:
blur
- shadow size in unitsopacity
- shadow opacityx
- shadow center Xy
- shadow center Y
-
light
-
light
-
polyBegin
public static void polyBegin() -
polyPoint
public static void polyPoint(float x, float y) -
polyEnd
public static void polyEnd() -
poly
-
poly
-
poly
public static void poly(float[] vertices, int length) -
poly
public static void poly(float x, float y, int sides, float radius) -
poly
public static void poly(float x, float y, int sides, float radius, float rotation) -
arc
public static void arc(float x, float y, float radius, float fraction) -
arc
public static void arc(float x, float y, float radius, float fraction, float rotation) -
arc
public static void arc(float x, float y, float radius, float fraction, float rotation, int sides) -
circle
-
circle
public static void circle(float x, float y, float radius) -
rect
-
rect
public static void rect(float x, float y, float w, float h) -
rect
public static void rect(float x, float y, float w, float h, float rot) -
crect
public static void crect(float x, float y, float w, float h) -
rects
public static void rects(float x, float y, float w, float h, float skew) -
square
public static void square(float x, float y, float radius) -
square
public static void square(float x, float y, float radius, float rotation)
-