Constructor and Description |
---|
GradientPath(com.verisilicon.vivante.vg_lite_path path,
com.verisilicon.vivante.vg_lite_gradient gradient,
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_gradient |
getGradient()
Gets the VGLite gradient of the path.
|
com.verisilicon.vivante.vg_lite_path |
getVGLitePath()
Gets the VGLite path.
|
public GradientPath(com.verisilicon.vivante.vg_lite_path path, com.verisilicon.vivante.vg_lite_gradient gradient, int fillRule)
path
- the path.gradient
- the gradient.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
public com.verisilicon.vivante.vg_lite_gradient getGradient()