RenderingContext:fill_geometry()
RenderingContext:fill_geometry(param_table)
RenderingContext:fill_geometry(geometry, x, y[, angle[, scale]])
This method fills the specified geometry using following properties of the rendering context.
Parameters
Parameter | Type | Description |
---|---|---|
param_table | table | This parameter is in associative array table format, meaning it's specified by keys rather than parameter positions. See the Parameters Table section. |
geometry | Geometry | The geometry object for drawing. It specifies SimpleGeometry of Path . |
x | number | Draw the gemometry's origin to coincide with this parameter's position in the target space. The default is 0 . |
y | number | Draw the geometry's origin to coincide with this parameter's position in the target space. The default is 0 . |
angle | number | Rotate counterclockwise by the specified angle in degrees around the geometry's origin.The default is 0 . |
scale | number | The scaling factor. The default is 1 . |
Parameters Table
Key | Type | Description |
---|---|---|
geometry | Geometry | The geometry object for drawing. It specifies SimpleGeometry of Path . |
x | number | Draw the gemometry's origin to coincide with this parameter's position in the target space. The default is 0 . |
y | number | Draw the geometry's origin to coincide with this parameter's position in the target space. The default is 0 . |
angle | number | Rotate counterclockwise by the specified angle in degrees around the geometry's origin.The default is 0 . |
scale | number | The scaling factor. The default is 1 . |
Return Values
This method doesn't return any value.