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
override Equals(object)Check if objects are equal.
abstract GetBounds(Matrix)Gets the object’s bounds.
abstract GetBounds(Matrix, Pen)Gets the object’s bounds.
override GetHashCode()Get hash code of the current object.
abstract Transform(Matrix)Applies the specified transformation to the shape.

See Also