public interface IShape : IStateDependent
Interface for vector icon shapes.

Properties

SvgPathCode

#
Create an SVG compliant path commands.
string SvgPathCode { get; }

Methods

Draw

#
Draw this element to a graphics object.
void Draw(
context,
Icon graphics context.
style
Style to draw.
)

Glue

#
Append this element to a graphics path. This may not necessarily be possible with every kind of shape.
void Glue(
context,
Icon graphics context.
GraphicsPath
path
Path to append to.
)

Store

This method is called whenever the instance is required to serialize itself.
void Store(
writer
Writer object to serialize with.
)
inherited fromIStorable

Update

Resolve a new state.
void Update(
stateName,
Name of state which is being modified.
value
New value of state.
)
inherited fromIStateDependent