C# Class SkiaSharp.SKPaint

Inheritance: SKObject
Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Property Type Description
SKPaint System

Public Methods

Method Description
BreakText ( IntPtr buffer, IntPtr length, float maxWidth, float &measuredWidth ) : long
BreakText ( string text, float maxWidth ) : long
BreakText ( string text, float maxWidth, float &measuredWidth ) : long
Clone ( ) : SKPaint
GetFillPath ( SKPath src, SKPath dst, SKRect cullRect, float resScale = 1 ) : bool
GetFillPath ( SKPath src, SKPath dst, float resScale = 1 ) : bool
GetFontMetrics ( SKFontMetrics &metrics, float scale = 0f ) : float
GetTextPath ( IntPtr buffer, IntPtr length, SKPoint points ) : SKPath
GetTextPath ( IntPtr buffer, IntPtr length, float x, float y ) : SKPath
GetTextPath ( string text, SKPoint points ) : SKPath
GetTextPath ( string text, float x, float y ) : SKPath
MeasureText ( IntPtr buffer, IntPtr length ) : float
MeasureText ( IntPtr buffer, IntPtr length, SKRect &bounds ) : float
MeasureText ( string text ) : float
MeasureText ( string text, SKRect &bounds ) : float
SKPaint ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

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

Method Details

BreakText() public method

public BreakText ( IntPtr buffer, IntPtr length, float maxWidth, float &measuredWidth ) : long
buffer System.IntPtr
length System.IntPtr
maxWidth float
measuredWidth float
return long

BreakText() public method

public BreakText ( string text, float maxWidth ) : long
text string
maxWidth float
return long

BreakText() public method

public BreakText ( string text, float maxWidth, float &measuredWidth ) : long
text string
maxWidth float
measuredWidth float
return long

Clone() public method

public Clone ( ) : SKPaint
return SKPaint

Dispose() protected method

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

GetFillPath() public method

public GetFillPath ( SKPath src, SKPath dst, SKRect cullRect, float resScale = 1 ) : bool
src SKPath
dst SKPath
cullRect SKRect
resScale float
return bool

GetFillPath() public method

public GetFillPath ( SKPath src, SKPath dst, float resScale = 1 ) : bool
src SKPath
dst SKPath
resScale float
return bool

GetFontMetrics() public method

public GetFontMetrics ( SKFontMetrics &metrics, float scale = 0f ) : float
metrics SKFontMetrics
scale float
return float

GetTextPath() public method

public GetTextPath ( IntPtr buffer, IntPtr length, SKPoint points ) : SKPath
buffer System.IntPtr
length System.IntPtr
points SKPoint
return SKPath

GetTextPath() public method

public GetTextPath ( IntPtr buffer, IntPtr length, float x, float y ) : SKPath
buffer System.IntPtr
length System.IntPtr
x float
y float
return SKPath

GetTextPath() public method

public GetTextPath ( string text, SKPoint points ) : SKPath
text string
points SKPoint
return SKPath

GetTextPath() public method

public GetTextPath ( string text, float x, float y ) : SKPath
text string
x float
y float
return SKPath

MeasureText() public method

public MeasureText ( IntPtr buffer, IntPtr length ) : float
buffer System.IntPtr
length System.IntPtr
return float

MeasureText() public method

public MeasureText ( IntPtr buffer, IntPtr length, SKRect &bounds ) : float
buffer System.IntPtr
length System.IntPtr
bounds SKRect
return float

MeasureText() public method

public MeasureText ( string text ) : float
text string
return float

MeasureText() public method

public MeasureText ( string text, SKRect &bounds ) : float
text string
bounds SKRect
return float

SKPaint() public method

public SKPaint ( ) : System
return System