C# Class PurplePen.CircleGap

ファイルを表示 Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
startAngle float
stopAngle float

Public Methods

Method Description
AddGap ( CircleGap original, float startAngle, float stopAngle ) : PurplePen.CircleGap[]
AddGap ( PointF center, CircleGap original, PointF pt1, PointF pt2 ) : PurplePen.CircleGap[]
ArcStartSweeps ( CircleGap gaps ) : float[]
CircleGap ( float startAngle, float stopAngle ) : System
ComputeApproximateOldStyleGaps ( CircleGap gaps ) : uint
ComputeCircleGaps ( uint gaps ) : PurplePen.CircleGap[]
DecodeGaps ( string text ) : PurplePen.CircleGap[]
EncodeGaps ( CircleGap gaps ) : string
Equals ( object obj ) : bool
GapStartStopPoints ( PointF center, float radius, CircleGap gaps ) : System.Drawing.PointF[]
GetHashCode ( ) : int
MoveStartStopPoint ( PointF center, float radius, CircleGap gaps, PointF oldPt, PointF newPt ) : PurplePen.CircleGap[]
OrderGapAngles ( float &angle1, float &angle2 ) : bool
RemoveGap ( CircleGap original, float angle ) : PurplePen.CircleGap[]
SimplifyGaps ( CircleGap gaps ) : PurplePen.CircleGap[]
StartsAndStops ( CircleGap gaps ) : float[]
operator ( ) : bool

Method Details

AddGap() public static method

public static AddGap ( CircleGap original, float startAngle, float stopAngle ) : PurplePen.CircleGap[]
original CircleGap
startAngle float
stopAngle float
return PurplePen.CircleGap[]

AddGap() public static method

public static AddGap ( PointF center, CircleGap original, PointF pt1, PointF pt2 ) : PurplePen.CircleGap[]
center System.Drawing.PointF
original CircleGap
pt1 System.Drawing.PointF
pt2 System.Drawing.PointF
return PurplePen.CircleGap[]

ArcStartSweeps() public static method

public static ArcStartSweeps ( CircleGap gaps ) : float[]
gaps CircleGap
return float[]

CircleGap() public method

public CircleGap ( float startAngle, float stopAngle ) : System
startAngle float
stopAngle float
return System

ComputeApproximateOldStyleGaps() public static method

public static ComputeApproximateOldStyleGaps ( CircleGap gaps ) : uint
gaps CircleGap
return uint

ComputeCircleGaps() public static method

public static ComputeCircleGaps ( uint gaps ) : PurplePen.CircleGap[]
gaps uint
return PurplePen.CircleGap[]

DecodeGaps() public static method

public static DecodeGaps ( string text ) : PurplePen.CircleGap[]
text string
return PurplePen.CircleGap[]

EncodeGaps() public static method

public static EncodeGaps ( CircleGap gaps ) : string
gaps CircleGap
return string

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GapStartStopPoints() public static method

public static GapStartStopPoints ( PointF center, float radius, CircleGap gaps ) : System.Drawing.PointF[]
center System.Drawing.PointF
radius float
gaps CircleGap
return System.Drawing.PointF[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

MoveStartStopPoint() public static method

public static MoveStartStopPoint ( PointF center, float radius, CircleGap gaps, PointF oldPt, PointF newPt ) : PurplePen.CircleGap[]
center System.Drawing.PointF
radius float
gaps CircleGap
oldPt System.Drawing.PointF
newPt System.Drawing.PointF
return PurplePen.CircleGap[]

OrderGapAngles() public static method

public static OrderGapAngles ( float &angle1, float &angle2 ) : bool
angle1 float
angle2 float
return bool

RemoveGap() public static method

public static RemoveGap ( CircleGap original, float angle ) : PurplePen.CircleGap[]
original CircleGap
angle float
return PurplePen.CircleGap[]

SimplifyGaps() public static method

public static SimplifyGaps ( CircleGap gaps ) : PurplePen.CircleGap[]
gaps CircleGap
return PurplePen.CircleGap[]

StartsAndStops() public static method

public static StartsAndStops ( CircleGap gaps ) : float[]
gaps CircleGap
return float[]

operator() public static method

public static operator ( ) : bool
return bool

Property Details

startAngle public_oe property

public float startAngle
return float

stopAngle public_oe property

public float stopAngle
return float