C# Class Eto.iOS.Drawing.GraphicsPathHandler

Handler for IGraphicsPath
Inheritance: GraphicsPath.IHandler
Mostrar archivo Open project: picoe/Eto

Public Methods

Method Description
AddArc ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
AddBezier ( PointF start, PointF control1, PointF control2, PointF end ) : void
AddCurve ( IEnumerable points, float tension = 0.5f ) : void
AddEllipse ( float x, float y, float width, float height ) : void
AddLine ( float startX, float startY, float endX, float endY ) : void
AddLines ( IEnumerable points ) : void
AddPath ( IGraphicsPath path, bool connect = false ) : void
AddRectangle ( float x, float y, float width, float height ) : void
Clone ( ) : IGraphicsPath
CloseFigure ( ) : void
ConnectTo ( PointF point ) : void
ConnectTo ( float x, float y ) : void
Dispose ( ) : void
GraphicsPathHandler ( ) : System
GraphicsPathHandler ( CGPath path ) : System
LineTo ( float x, float y ) : void
MoveTo ( float x, float y ) : void
StartFigure ( ) : void
Transform ( IMatrix matrix ) : void

Private Methods

Method Description
AddCurveToPoint ( PointF point1, PointF point2, PointF point3 ) : void
Check ( PointF p ) : void
Check ( float f ) : void

Check points early. If an invalid point is passed to AddCurveToPoint, iOS crashes with a SIGABRT leading to a long debugging experience. This provides early diagnostics.

Method Details

AddArc() public method

public AddArc ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
x float
y float
width float
height float
startAngle float
sweepAngle float
return void

AddBezier() public method

public AddBezier ( PointF start, PointF control1, PointF control2, PointF end ) : void
start PointF
control1 PointF
control2 PointF
end PointF
return void

AddCurve() public method

public AddCurve ( IEnumerable points, float tension = 0.5f ) : void
points IEnumerable
tension float
return void

AddEllipse() public method

public AddEllipse ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

AddLine() public method

public AddLine ( float startX, float startY, float endX, float endY ) : void
startX float
startY float
endX float
endY float
return void

AddLines() public method

public AddLines ( IEnumerable points ) : void
points IEnumerable
return void

AddPath() public method

public AddPath ( IGraphicsPath path, bool connect = false ) : void
path IGraphicsPath
connect bool
return void

AddRectangle() public method

public AddRectangle ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

Clone() public method

public Clone ( ) : IGraphicsPath
return IGraphicsPath

CloseFigure() public method

public CloseFigure ( ) : void
return void

ConnectTo() public method

public ConnectTo ( PointF point ) : void
point PointF
return void

ConnectTo() public method

public ConnectTo ( float x, float y ) : void
x float
y float
return void

Dispose() public method

public Dispose ( ) : void
return void

GraphicsPathHandler() public method

public GraphicsPathHandler ( ) : System
return System

GraphicsPathHandler() public method

public GraphicsPathHandler ( CGPath path ) : System
path MonoMac.CoreGraphics.CGPath
return System

LineTo() public method

public LineTo ( float x, float y ) : void
x float
y float
return void

MoveTo() public method

public MoveTo ( float x, float y ) : void
x float
y float
return void

StartFigure() public method

public StartFigure ( ) : void
return void

Transform() public method

public Transform ( IMatrix matrix ) : void
matrix IMatrix
return void