Shape Class
The shape. A continuous set of points connected using a specific rule.
Inheritance Hierarchy

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.05
Syntax
[SerializableAttribute]
public abstract class Shape : ObjectWithBounds

The Shape type exposes the following members.

Constructors
  NameDescription
Protected methodShape
Initializes a new instance of the Shape class
Properties
  NameDescription
Public propertyBounds
Gets the object's bounds.
(Inherited from ObjectWithBounds.)
Public propertyCenter
Gets the shape's center.
Public propertyHasSegments
Gets a value indicating whether shape has segments.
Public propertySegments
Gets the shape segments.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBounds(Matrix)
Gets the object's bounds.
(Inherited from ObjectWithBounds.)
Public methodGetBounds(Matrix, Pen)
Gets the object's bounds.
(Inherited from ObjectWithBounds.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform
Applies the specified transformation to the shape.
(Inherited from ObjectWithBounds.)
See Also