public interface IShape : IStorable
Base interface for all canvas vector shapes.

Properties

Grips

#
Gets all the grips for this shape.
Grip[] Grips { get; }

Nomen

#
Gets a description of this shape.
Nomen Nomen { get; }

Methods

Bounds

#
Compute the bounds for this shape.
RectangleF Bounds(
style
)

Coincident

#
Test for point-shape coincidence.
bool Coincident(
PointF
location,
Point location for intersection test.
style
Display style (width and arrowheads matter).
)
True if the point is coincident with the shape.

DragGrips

#
Modify this shape via grip dragging.
IShape DragGrips(
Grip[]
grips
A possibly partial list of moved grips.
)

DrawShape

#
Draw the shape.
void DrawShape(
Graphics
graphics,
Color
background,
style
)

Store

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

Translate

#
Move this shape.
IShape Translate(
dx,
dy
)