C# 클래스 SkiaSharp.SKPath

상속: SKObject
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
AddArc ( SKRect oval, float startAngle, float sweepAngle ) : void
AddCircle ( float x, float y, float radius, SKPathDirection dir = SKPathDirection.Clockwise ) : void
AddOval ( SKRect rect, SKPathDirection direction = SKPathDirection.Clockwise ) : void
AddPath ( SKPath other, AddMode mode = AddMode.Append ) : void
AddPath ( SKPath other, SKMatrix &matrix, AddMode mode = AddMode.Append ) : void
AddPath ( SKPath other, float dx, float dy, AddMode mode = AddMode.Append ) : void
AddPathReverse ( SKPath other ) : void
AddRect ( SKRect rect, SKPathDirection direction = SKPathDirection.Clockwise ) : void
AddRect ( SKRect rect, SKPathDirection direction, uint startIndex ) : void
AddRoundedRect ( SKRect rect, float rx, float ry, SKPathDirection dir = SKPathDirection.Clockwise ) : void
ArcTo ( SKPoint point1, SKPoint point2, float radius ) : void
ArcTo ( SKPoint r, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, SKPoint xy ) : void
ArcTo ( SKRect oval, float startAngle, float sweepAngle, bool forceMoveTo ) : void
ArcTo ( float rx, float ry, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, float x, float y ) : void
ArcTo ( float x1, float y1, float x2, float y2, float radius ) : void
Close ( ) : void
ConicTo ( SKPoint point0, SKPoint point1, float w ) : void
ConicTo ( float x0, float y0, float x1, float y1, float w ) : void
Contains ( float x, float y ) : bool
ConvertConicToQuads ( SKPoint p0, SKPoint p1, SKPoint p2, float w, int pow2 ) : SKPoint[]
ConvertConicToQuads ( SKPoint p0, SKPoint p1, SKPoint p2, float w, SKPoint &pts, int pow2 ) : int
CreateIterator ( bool forceClose ) : Iterator
CreateRawIterator ( ) : RawIterator
CubicTo ( SKPoint point0, SKPoint point1, SKPoint point2 ) : void
CubicTo ( float x0, float y0, float x1, float y1, float x2, float y2 ) : void
GetBounds ( SKRect &rect ) : bool
GetPoint ( int index ) : SKPoint
GetPoints ( int max ) : SKPoint[]
GetPoints ( SKPoint points, int max ) : int
GetTightBounds ( SKRect &result ) : bool
LineTo ( SKPoint point ) : void
LineTo ( float x, float y ) : void
MoveTo ( SKPoint point ) : void
MoveTo ( float x, float y ) : void
Offset ( SKPoint offset ) : void
Offset ( float dx, float dy ) : void
Op ( SKPath other, SKPathOp op ) : SKPath
Op ( SKPath other, SKPathOp op, SKPath result ) : bool
ParseSvgPathData ( string svgPath ) : SKPath
QuadTo ( SKPoint point0, SKPoint point1 ) : void
QuadTo ( float x0, float y0, float x1, float y1 ) : void
RArcTo ( SKPoint r, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, SKPoint xy ) : void
RArcTo ( float rx, float ry, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, float x, float y ) : void
RConicTo ( SKPoint point0, SKPoint point1, float w ) : void
RConicTo ( float dx0, float dy0, float dx1, float dy1, float w ) : void
RCubicTo ( SKPoint point0, SKPoint point1, SKPoint point2 ) : void
RCubicTo ( float dx0, float dy0, float dx1, float dy1, float dx2, float dy2 ) : void
RLineTo ( SKPoint point ) : void
RLineTo ( float dx, float dy ) : void
RMoveTo ( SKPoint point ) : void
RMoveTo ( float dx, float dy ) : void
RQuadTo ( SKPoint point0, SKPoint point1 ) : void
RQuadTo ( float dx0, float dy0, float dx1, float dy1 ) : void
Reset ( ) : void
Rewind ( ) : void
SKPath ( ) : System
SKPath ( SKPath path ) : System
Simplify ( ) : SKPath
Simplify ( SKPath result ) : bool
ToSvgPathData ( ) : string
Transform ( SKMatrix matrix ) : void
this ( int index ) : SKPoint

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
SKPath ( IntPtr handle, bool owns ) : System

메소드 상세

AddArc() 공개 메소드

public AddArc ( SKRect oval, float startAngle, float sweepAngle ) : void
oval SKRect
startAngle float
sweepAngle float
리턴 void

AddCircle() 공개 메소드

public AddCircle ( float x, float y, float radius, SKPathDirection dir = SKPathDirection.Clockwise ) : void
x float
y float
radius float
dir SKPathDirection
리턴 void

AddOval() 공개 메소드

public AddOval ( SKRect rect, SKPathDirection direction = SKPathDirection.Clockwise ) : void
rect SKRect
direction SKPathDirection
리턴 void

AddPath() 공개 메소드

public AddPath ( SKPath other, AddMode mode = AddMode.Append ) : void
other SKPath
mode AddMode
리턴 void

AddPath() 공개 메소드

public AddPath ( SKPath other, SKMatrix &matrix, AddMode mode = AddMode.Append ) : void
other SKPath
matrix SKMatrix
mode AddMode
리턴 void

AddPath() 공개 메소드

public AddPath ( SKPath other, float dx, float dy, AddMode mode = AddMode.Append ) : void
other SKPath
dx float
dy float
mode AddMode
리턴 void

AddPathReverse() 공개 메소드

public AddPathReverse ( SKPath other ) : void
other SKPath
리턴 void

AddRect() 공개 메소드

public AddRect ( SKRect rect, SKPathDirection direction = SKPathDirection.Clockwise ) : void
rect SKRect
direction SKPathDirection
리턴 void

AddRect() 공개 메소드

public AddRect ( SKRect rect, SKPathDirection direction, uint startIndex ) : void
rect SKRect
direction SKPathDirection
startIndex uint
리턴 void

AddRoundedRect() 공개 메소드

public AddRoundedRect ( SKRect rect, float rx, float ry, SKPathDirection dir = SKPathDirection.Clockwise ) : void
rect SKRect
rx float
ry float
dir SKPathDirection
리턴 void

ArcTo() 공개 메소드

public ArcTo ( SKPoint point1, SKPoint point2, float radius ) : void
point1 SKPoint
point2 SKPoint
radius float
리턴 void

ArcTo() 공개 메소드

public ArcTo ( SKPoint r, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, SKPoint xy ) : void
r SKPoint
xAxisRotate float
largeArc SKPathArcSize
sweep SKPathDirection
xy SKPoint
리턴 void

ArcTo() 공개 메소드

public ArcTo ( SKRect oval, float startAngle, float sweepAngle, bool forceMoveTo ) : void
oval SKRect
startAngle float
sweepAngle float
forceMoveTo bool
리턴 void

ArcTo() 공개 메소드

public ArcTo ( float rx, float ry, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, float x, float y ) : void
rx float
ry float
xAxisRotate float
largeArc SKPathArcSize
sweep SKPathDirection
x float
y float
리턴 void

ArcTo() 공개 메소드

public ArcTo ( float x1, float y1, float x2, float y2, float radius ) : void
x1 float
y1 float
x2 float
y2 float
radius float
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

ConicTo() 공개 메소드

public ConicTo ( SKPoint point0, SKPoint point1, float w ) : void
point0 SKPoint
point1 SKPoint
w float
리턴 void

ConicTo() 공개 메소드

public ConicTo ( float x0, float y0, float x1, float y1, float w ) : void
x0 float
y0 float
x1 float
y1 float
w float
리턴 void

Contains() 공개 메소드

public Contains ( float x, float y ) : bool
x float
y float
리턴 bool

ConvertConicToQuads() 공개 정적인 메소드

public static ConvertConicToQuads ( SKPoint p0, SKPoint p1, SKPoint p2, float w, int pow2 ) : SKPoint[]
p0 SKPoint
p1 SKPoint
p2 SKPoint
w float
pow2 int
리턴 SKPoint[]

ConvertConicToQuads() 공개 정적인 메소드

public static ConvertConicToQuads ( SKPoint p0, SKPoint p1, SKPoint p2, float w, SKPoint &pts, int pow2 ) : int
p0 SKPoint
p1 SKPoint
p2 SKPoint
w float
pts SKPoint
pow2 int
리턴 int

CreateIterator() 공개 메소드

public CreateIterator ( bool forceClose ) : Iterator
forceClose bool
리턴 Iterator

CreateRawIterator() 공개 메소드

public CreateRawIterator ( ) : RawIterator
리턴 RawIterator

CubicTo() 공개 메소드

public CubicTo ( SKPoint point0, SKPoint point1, SKPoint point2 ) : void
point0 SKPoint
point1 SKPoint
point2 SKPoint
리턴 void

CubicTo() 공개 메소드

public CubicTo ( float x0, float y0, float x1, float y1, float x2, float y2 ) : void
x0 float
y0 float
x1 float
y1 float
x2 float
y2 float
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetBounds() 공개 메소드

public GetBounds ( SKRect &rect ) : bool
rect SKRect
리턴 bool

GetPoint() 공개 메소드

public GetPoint ( int index ) : SKPoint
index int
리턴 SKPoint

GetPoints() 공개 메소드

public GetPoints ( int max ) : SKPoint[]
max int
리턴 SKPoint[]

GetPoints() 공개 메소드

public GetPoints ( SKPoint points, int max ) : int
points SKPoint
max int
리턴 int

GetTightBounds() 공개 메소드

public GetTightBounds ( SKRect &result ) : bool
result SKRect
리턴 bool

LineTo() 공개 메소드

public LineTo ( SKPoint point ) : void
point SKPoint
리턴 void

LineTo() 공개 메소드

public LineTo ( float x, float y ) : void
x float
y float
리턴 void

MoveTo() 공개 메소드

public MoveTo ( SKPoint point ) : void
point SKPoint
리턴 void

MoveTo() 공개 메소드

public MoveTo ( float x, float y ) : void
x float
y float
리턴 void

Offset() 공개 메소드

public Offset ( SKPoint offset ) : void
offset SKPoint
리턴 void

Offset() 공개 메소드

public Offset ( float dx, float dy ) : void
dx float
dy float
리턴 void

Op() 공개 메소드

public Op ( SKPath other, SKPathOp op ) : SKPath
other SKPath
op SKPathOp
리턴 SKPath

Op() 공개 메소드

public Op ( SKPath other, SKPathOp op, SKPath result ) : bool
other SKPath
op SKPathOp
result SKPath
리턴 bool

ParseSvgPathData() 공개 정적인 메소드

public static ParseSvgPathData ( string svgPath ) : SKPath
svgPath string
리턴 SKPath

QuadTo() 공개 메소드

public QuadTo ( SKPoint point0, SKPoint point1 ) : void
point0 SKPoint
point1 SKPoint
리턴 void

QuadTo() 공개 메소드

public QuadTo ( float x0, float y0, float x1, float y1 ) : void
x0 float
y0 float
x1 float
y1 float
리턴 void

RArcTo() 공개 메소드

public RArcTo ( SKPoint r, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, SKPoint xy ) : void
r SKPoint
xAxisRotate float
largeArc SKPathArcSize
sweep SKPathDirection
xy SKPoint
리턴 void

RArcTo() 공개 메소드

public RArcTo ( float rx, float ry, float xAxisRotate, SKPathArcSize largeArc, SKPathDirection sweep, float x, float y ) : void
rx float
ry float
xAxisRotate float
largeArc SKPathArcSize
sweep SKPathDirection
x float
y float
리턴 void

RConicTo() 공개 메소드

public RConicTo ( SKPoint point0, SKPoint point1, float w ) : void
point0 SKPoint
point1 SKPoint
w float
리턴 void

RConicTo() 공개 메소드

public RConicTo ( float dx0, float dy0, float dx1, float dy1, float w ) : void
dx0 float
dy0 float
dx1 float
dy1 float
w float
리턴 void

RCubicTo() 공개 메소드

public RCubicTo ( SKPoint point0, SKPoint point1, SKPoint point2 ) : void
point0 SKPoint
point1 SKPoint
point2 SKPoint
리턴 void

RCubicTo() 공개 메소드

public RCubicTo ( float dx0, float dy0, float dx1, float dy1, float dx2, float dy2 ) : void
dx0 float
dy0 float
dx1 float
dy1 float
dx2 float
dy2 float
리턴 void

RLineTo() 공개 메소드

public RLineTo ( SKPoint point ) : void
point SKPoint
리턴 void

RLineTo() 공개 메소드

public RLineTo ( float dx, float dy ) : void
dx float
dy float
리턴 void

RMoveTo() 공개 메소드

public RMoveTo ( SKPoint point ) : void
point SKPoint
리턴 void

RMoveTo() 공개 메소드

public RMoveTo ( float dx, float dy ) : void
dx float
dy float
리턴 void

RQuadTo() 공개 메소드

public RQuadTo ( SKPoint point0, SKPoint point1 ) : void
point0 SKPoint
point1 SKPoint
리턴 void

RQuadTo() 공개 메소드

public RQuadTo ( float dx0, float dy0, float dx1, float dy1 ) : void
dx0 float
dy0 float
dx1 float
dy1 float
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Rewind() 공개 메소드

public Rewind ( ) : void
리턴 void

SKPath() 공개 메소드

public SKPath ( ) : System
리턴 System

SKPath() 공개 메소드

public SKPath ( SKPath path ) : System
path SKPath
리턴 System

Simplify() 공개 메소드

public Simplify ( ) : SKPath
리턴 SKPath

Simplify() 공개 메소드

public Simplify ( SKPath result ) : bool
result SKPath
리턴 bool

ToSvgPathData() 공개 메소드

public ToSvgPathData ( ) : string
리턴 string

Transform() 공개 메소드

public Transform ( SKMatrix matrix ) : void
matrix SKMatrix
리턴 void

this() 공개 메소드

public this ( int index ) : SKPoint
index int
리턴 SKPoint