Skip to main content

Class SKPaint

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public sealed class SKPaint : IDisposable

Inheritance

objectSKPaint

Implements

IDisposable

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

BlendMode

public SKBlendMode BlendMode { get; set; }

Property Value

SKBlendMode

Color

public SKColor Color { get; set; }

Property Value

SKColor

ImageFilter

public SKImageFilter? ImageFilter { get; set; }

Property Value

SKImageFilter?

IsAntialias

public bool IsAntialias { get; set; }

Property Value

bool

IsStroke

public bool IsStroke { get; set; }

Property Value

bool

Opacity

public float Opacity { get; set; }

Property Value

float

PathEffect

public SKPathEffect? PathEffect { get; set; }

Property Value

SKPathEffect?

Shader

public SKShader? Shader { get; set; }

Property Value

SKShader?

StrokeCap

public SKStrokeCap StrokeCap { get; set; }

Property Value

SKStrokeCap

StrokeJoin

public SKStrokeJoin StrokeJoin { get; set; }

Property Value

SKStrokeJoin

StrokeMiter

public float StrokeMiter { get; set; }

Property Value

float

StrokeWidth

public float StrokeWidth { get; set; }

Property Value

float

Style

public SKPaintStyle Style { get; set; }

Property Value

SKPaintStyle

TextSize

public float TextSize { get; set; }

Property Value

float

Typeface

public SKTypeface? Typeface { get; set; }

Property Value

SKTypeface?

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetFillPath(SKPath, SKPath)

public bool GetFillPath(SKPath source, SKPath destination)

Parameters

source SKPath

destination SKPath

Returns

bool

Reset()

public void Reset()