Table of Contents

Class Paint

Namespace
ScottPlot
Assembly
ScottPlot.dll
public class Paint : IDisposable
Inheritance
Paint
Implements
Inherited Members
Extension Methods

Properties

Bold

public bool Bold { get; set; }

Property Value

bool

Color

public Color Color { get; set; }

Property Value

Color

FontSpacing

public float FontSpacing { get; }

Property Value

float

IsAntialias

public bool IsAntialias { get; set; }

Property Value

bool

IsStroke

public bool IsStroke { get; set; }

Property Value

bool

ResizeFilter

public ResizeFilter ResizeFilter { set; }

Property Value

ResizeFilter

SKColor

[Obsolete("use Color instead of SKColor", true)]
public SKColor SKColor { get; set; }

Property Value

SKColor

SKFont

public SKFont SKFont { get; set; }

Property Value

SKFont

SKPaint

public SKPaint SKPaint { get; set; }

Property Value

SKPaint

SKPaintStyle

public SKPaintStyle SKPaintStyle { get; set; }

Property Value

SKPaintStyle

SKPathEffect

public SKPathEffect SKPathEffect { get; set; }

Property Value

SKPathEffect

SKSamplingOptions

public SKSamplingOptions SKSamplingOptions { get; set; }

Property Value

SKSamplingOptions

SKShader

public SKShader? SKShader { get; set; }

Property Value

SKShader

SKStrokeCap

public SKStrokeCap SKStrokeCap { get; set; }

Property Value

SKStrokeCap

SKStrokeJoin

public SKStrokeJoin SKStrokeJoin { get; set; }

Property Value

SKStrokeJoin

SKTextAlign

public SKTextAlign SKTextAlign { get; set; }

Property Value

SKTextAlign

SKTypeface

public SKTypeface SKTypeface { get; set; }

Property Value

SKTypeface

StrokeMiter

public float StrokeMiter { get; set; }

Property Value

float

StrokeWidth

public float StrokeWidth { get; set; }

Property Value

float

SubpixelText

public bool SubpixelText { get; set; }

Property Value

bool

TextAlign

public HorizontalAlignment TextAlign { set; }

Property Value

HorizontalAlignment

TextSize

public float TextSize { get; set; }

Property Value

float

Methods

Dispose()

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

public void Dispose()

GetFontMetrics()

public (float lineHeight, SKFontMetrics metrics) GetFontMetrics()

Returns

(float lineHeight, SKFontMetrics metrics)

MeasureText(string)

public PixelRect MeasureText(string str)

Parameters

str string

Returns

PixelRect

NewDisposablePaint()

public static Paint NewDisposablePaint()

Returns

Paint