Constructor and Description |
---|
DynamicGradientPath(com.verisilicon.vivante.vg_lite_path path,
float x1,
float y1,
float length,
float angle,
int[] colors,
int[] stops,
int fillRule)
Creates a colored path.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(ej.microui.display.GraphicsContext g,
com.verisilicon.vivante.vg_lite_matrix matrix)
Draws the path to a graphics context.
|
com.verisilicon.vivante.vg_lite_path |
getVGLitePath()
Gets the VGLite path.
|
public DynamicGradientPath(com.verisilicon.vivante.vg_lite_path path, float x1, float y1, float length, float angle, int[] colors, int[] stops, int fillRule)
path
- the path.x1
- the x1.y1
- the y1.length
- the length.angle
- the angle.colors
- the colors.stops
- the stops.fillRule
- the fill rule (one of vg_lite.VG_LITE_FILL_EVEN_ODD
and
vg_lite.VG_LITE_FILL_NON_ZERO
).public com.verisilicon.vivante.vg_lite_path getVGLitePath()
Path
getVGLitePath
in interface Path