C# Class SkiaSharp.SKPaint

Inheritance: SKObject
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Private Properties

Свойство Type Description
SKPaint System

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
SKPaint ( IntPtr handle, bool owns ) : System

Method Details

BreakText() public méthode

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

BreakText() public méthode

public BreakText ( string text, float maxWidth ) : long
text string
maxWidth float
Résultat long

BreakText() public méthode

public BreakText ( string text, float maxWidth, float &measuredWidth ) : long
text string
maxWidth float
measuredWidth float
Résultat long

Clone() public méthode

public Clone ( ) : SKPaint
Résultat SKPaint

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetFillPath() public méthode

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

GetFillPath() public méthode

public GetFillPath ( SKPath src, SKPath dst, float resScale = 1 ) : bool
src SKPath
dst SKPath
resScale float
Résultat bool

GetFontMetrics() public méthode

public GetFontMetrics ( SKFontMetrics &metrics, float scale = 0f ) : float
metrics SKFontMetrics
scale float
Résultat float

GetTextPath() public méthode

public GetTextPath ( IntPtr buffer, IntPtr length, SKPoint points ) : SKPath
buffer System.IntPtr
length System.IntPtr
points SKPoint
Résultat SKPath

GetTextPath() public méthode

public GetTextPath ( IntPtr buffer, IntPtr length, float x, float y ) : SKPath
buffer System.IntPtr
length System.IntPtr
x float
y float
Résultat SKPath

GetTextPath() public méthode

public GetTextPath ( string text, SKPoint points ) : SKPath
text string
points SKPoint
Résultat SKPath

GetTextPath() public méthode

public GetTextPath ( string text, float x, float y ) : SKPath
text string
x float
y float
Résultat SKPath

MeasureText() public méthode

public MeasureText ( IntPtr buffer, IntPtr length ) : float
buffer System.IntPtr
length System.IntPtr
Résultat float

MeasureText() public méthode

public MeasureText ( IntPtr buffer, IntPtr length, SKRect &bounds ) : float
buffer System.IntPtr
length System.IntPtr
bounds SKRect
Résultat float

MeasureText() public méthode

public MeasureText ( string text ) : float
text string
Résultat float

MeasureText() public méthode

public MeasureText ( string text, SKRect &bounds ) : float
text string
bounds SKRect
Résultat float

SKPaint() public méthode

public SKPaint ( ) : System
Résultat System