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