Method Cairo.MeshPattern()->move_to()
- Method
move_to
void
move_to(float
|int
x
,float
|int
y
)- Description
Define the first point of the current patch in a mesh pattern.
After this call the current point will be (x, y).
- Note
If pattern has no current patch or the current patch already has at least one side, pattern will be put into an error status with a status of STATUS_INVALID_MESH_CONSTRUCTION.
- Parameter
x
the X coordinate of the new position
- Parameter
y
the Y coordinate of the new position