Class: M_Style

The M_Style class represents the visual style of a shape, either the shape's own style or an inherited style

Member Functions


void SetSoftEdge(radius)

Applies a soft edge effect.

Return value: none radius (float): radius of the blur
void SetShading(angle, offset, blur, color)

Applies a shading effect.

Return value: none angle (float): shading angle offset (float): shading offset blur (float): blur radius color (rgb_color): shading color

Member Variables


fName (LM_String)

The name of the style.


fDefineFillCol (bool)

True if this style defines a fill color, otherwise false.


fFillCol (AnimColor)

The style's fill color.


fDefineLineWidth (bool)

True if this style defines a line width, otherwise false.


fLineWidth (float)

The style's line width.


fDefineLineCol (bool)

True if this style defines a line color, otherwise false.


fLineCol (AnimColor)

The style's line color.