Skip to main content

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

ParameterTypeDescription
param_tabletableThis parameter is in associative array table format, meaning it's specified by keys rather than parameter positions. See the Parameters Table section.
geometryGeometryThe geometry object for drawing. It specifies SimpleGeometry of Path.
xnumberDraw the gemometry's origin to coincide with this parameter's position in the target space.
The default is 0.
ynumberDraw the geometry's origin to coincide with this parameter's position in the target space.
The default is 0.
anglenumberRotate counterclockwise by the specified angle in degrees around the geometry's origin.The default is 0.
scalenumberThe scaling factor. The default is 1.

Parameters Table

KeyTypeDescription
geometryGeometryThe geometry object for drawing. It specifies SimpleGeometry of Path.
xnumberDraw the gemometry's origin to coincide with this parameter's position in the target space.
The default is 0.
ynumberDraw the geometry's origin to coincide with this parameter's position in the target space.
The default is 0.
anglenumberRotate counterclockwise by the specified angle in degrees around the geometry's origin.The default is 0.
scalenumberThe scaling factor. The default is 1.

Return Values

This method doesn't return any value.

See Also