Class ShapeSegment
Class ShapeSegment
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)
Represents a shape segment. A segment is a line or curve connecting two points.
public abstract class ShapeSegment
Inheritance
Derived
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ShapeSegment()
protected ShapeSegment()
Properties
EndPoint
Gets the ending point.
public abstract PointF EndPoint { get; }
Property Value
StartPoint
Gets the starting point.
public abstract PointF StartPoint { get; }
Property Value
Methods
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
object
The other object.
Returns
The equality comparison result.
Equals(ShapeSegment)
Check if objects are equal.
protected bool Equals(ShapeSegment other)
Parameters
other
ShapeSegment
The other object.
Returns
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
Returns
The hash code.