Class M_Mesh

Version added: before 9.5
The M_Mesh class is a container for the actual vector shapes in a vector layer. It contains points, curves, and fill and outline shapes.

Methods:

Name Returns Description Version added
AddGroup void Add a new point group, made up of the currently selected points before 9.5
AddLonePoint void Adds a lone, unconnected point to the mesh before 9.5
AddPoint void Add a new point to the mesh before 9.5
AddPoint void Add a new point to the mesh (modified in 12.0) before 9.5
AdvancedCurveSimplification void Added in version 12 12.0
AnimatedShapeOrder bool Added in version 11 11.0
AppendPoint void Adds a new point, connecting it with a curve to either the AddLonePoint point, or the last call to AppendPoint before 9.5
ArePointsAdjacent bool Tests whether two points are adjacent on a curve before 9.5
Clear void Completely empties a mesh of all points and curves before 9.5
ClosestPoint int32 Returns the closest point to the given location before 9.5
CountCurves int32 Returns the number of curves in the mesh before 9.5
CountGroups int32 Returns the number of point groups in the mesh before 9.5
CountPoints int32 Returns the number of points in the mesh before 9.5
CountShapes int32 Returns the number of shapes in the mesh before 9.5
CountVisiblePoints int32 Added in version 10.1 10.1
Curve M_Curve Access a curve in the mesh before 9.5
CurveID int32 before 9.5
CurveInterpretation int32 before 9.5
DeleteEdge void Delete an edge of a curve before 9.5
DeleteGroup void Delete a point group from the mesh before 9.5
DeletePoint void Deletes a point from the mesh before 9.5
DeleteSelectedPoints void Added in version 12 12.0
DeleteShape void Delete a fill or outline shape before 9.5
DeselectPoints void Deselects just points (Added in version 10) 10.0
Group M_PointGroup Access a point group in the mesh before 9.5
GroupID int32 before 9.5
IsCurveValid int32 before 9.5
IsShapeValid int32 Added in version 12 12.0
LowerShape void Lower a shape in the stacking order before 9.5
MakePointConsistentWithNeighbors void before 9.5
PlaceShapeAbove void Added in version 10 10.0
PlaceShapeBehind void Added in version 10 10.0
Point M_Point Access a point in the mesh before 9.5
PointID int32 before 9.5
PrepFixedHandles void Added in version 12 12.0
PrepMovePoints void Call this before moving a group of points around before 9.5
PreserveHandlePositions void Added in version 12 12.0
RaiseShape void Raise a shape in the stacking order before 9.5
RotatePoints void Rotate the currently selected points before 9.5
ScalePoints void Scale the currently selected points before 9.5
SelectAll void Select all points before 9.5
SelectConnected void Select all points that are connected by curves to any currently selected points before 9.5
SelectedBounds void Returns the boundaries of the current selection before 9.5
SelectedCenter LM_Vector2 Returns the location of the center point of the current group of selected points before 9.5
SelectGroup void Select all the points in a given group before 9.5
SelectInverse void Invert the current selection before 9.5
SelectNone void deselects points and shapes before 9.5
SetAnimatedShapeOrder void Added in version 11 11.0
SetCurveInterpretation void before 9.5
Shape M_Shape Access a shape in the mesh before 9.5
ShapeByID M_Shape Added in version 11 11.0
ShapeByName M_Shape before 9.5
ShapeID int32 before 9.5
SimplifyCurve void before 9.5
StoreShapeOrder void Added in version 11 11.0
TransformPoints void before 9.5
TranslatePoints void Translate the currently selected points before 9.5
VisiblePoint M_Point Added in version 10.1 10.1
WeldPoints bool Welds two points together before 9.5