Class Shape

Shape class

The shape. A continuous set of points connected using a specific rule.

public abstract class Shape : ObjectWithBounds

Properties

NameDescription
abstract Bounds { get; }Gets the object’s bounds.
abstract Center { get; }Gets the shape’s center.
abstract HasSegments { get; }Gets a value indicating whether shape has segments.
abstract Segments { get; }Gets the shape segments.

Methods

NameDescription
abstract GetBounds(Matrix)Gets the object’s bounds.
abstract GetBounds(Matrix, Pen)Gets the object’s bounds.
abstract Transform(Matrix)Applies the specified transformation to the shape.

See Also