C# Class Eto.iOS.Drawing.GraphicsPathHandler

Handler for IGraphicsPath
Inheritance: GraphicsPath.IHandler
Afficher le fichier Open project: picoe/Eto

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

AddBezier() public méthode

public AddBezier ( PointF start, PointF control1, PointF control2, PointF end ) : void
start PointF
control1 PointF
control2 PointF
end PointF
Résultat void

AddCurve() public méthode

public AddCurve ( IEnumerable points, float tension = 0.5f ) : void
points IEnumerable
tension float
Résultat void

AddEllipse() public méthode

public AddEllipse ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

AddLine() public méthode

public AddLine ( float startX, float startY, float endX, float endY ) : void
startX float
startY float
endX float
endY float
Résultat void

AddLines() public méthode

public AddLines ( IEnumerable points ) : void
points IEnumerable
Résultat void

AddPath() public méthode

public AddPath ( IGraphicsPath path, bool connect = false ) : void
path IGraphicsPath
connect bool
Résultat void

AddRectangle() public méthode

public AddRectangle ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Résultat void

Clone() public méthode

public Clone ( ) : IGraphicsPath
Résultat IGraphicsPath

CloseFigure() public méthode

public CloseFigure ( ) : void
Résultat void

ConnectTo() public méthode

public ConnectTo ( PointF point ) : void
point PointF
Résultat void

ConnectTo() public méthode

public ConnectTo ( float x, float y ) : void
x float
y float
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GraphicsPathHandler() public méthode

public GraphicsPathHandler ( ) : System
Résultat System

GraphicsPathHandler() public méthode

public GraphicsPathHandler ( CGPath path ) : System
path MonoMac.CoreGraphics.CGPath
Résultat System

LineTo() public méthode

public LineTo ( float x, float y ) : void
x float
y float
Résultat void

MoveTo() public méthode

public MoveTo ( float x, float y ) : void
x float
y float
Résultat void

StartFigure() public méthode

public StartFigure ( ) : void
Résultat void

Transform() public méthode

public Transform ( IMatrix matrix ) : void
matrix IMatrix
Résultat void