C# Class SkiaSharp.SKPathMeasure

Inheritance: SKObject
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
GetMatrix ( float distance, SKMatrix &matrix, MatrixFlags flags ) : bool
GetPosition ( float distance, SKPoint &position ) : bool
GetPositionAndTangent ( float distance, SKPoint &position, SKPoint &tangent ) : bool
GetSegment ( float start, float stop, SKPath dst, bool startWithMoveTo ) : bool
GetTangent ( float distance, SKPoint &tangent ) : bool
NextContour ( ) : bool
SKPathMeasure ( ) : System
SKPathMeasure ( SKPath path, bool forceClosed = false, float resScale = 1 ) : System
SetPath ( SKPath path, bool forceClosed ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SKPathMeasure ( IntPtr handle, bool owns ) : System

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetMatrix() public method

public GetMatrix ( float distance, SKMatrix &matrix, MatrixFlags flags ) : bool
distance float
matrix SKMatrix
flags MatrixFlags
return bool

GetPosition() public method

public GetPosition ( float distance, SKPoint &position ) : bool
distance float
position SKPoint
return bool

GetPositionAndTangent() public method

public GetPositionAndTangent ( float distance, SKPoint &position, SKPoint &tangent ) : bool
distance float
position SKPoint
tangent SKPoint
return bool

GetSegment() public method

public GetSegment ( float start, float stop, SKPath dst, bool startWithMoveTo ) : bool
start float
stop float
dst SKPath
startWithMoveTo bool
return bool

GetTangent() public method

public GetTangent ( float distance, SKPoint &tangent ) : bool
distance float
tangent SKPoint
return bool

NextContour() public method

public NextContour ( ) : bool
return bool

SKPathMeasure() public method

public SKPathMeasure ( ) : System
return System

SKPathMeasure() public method

public SKPathMeasure ( SKPath path, bool forceClosed = false, float resScale = 1 ) : System
path SKPath
forceClosed bool
resScale float
return System

SetPath() public method

public SetPath ( SKPath path, bool forceClosed ) : void
path SKPath
forceClosed bool
return void