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
Color
public Color Color { get; set; }
Property Value
FontSpacing
public float FontSpacing { get; }
Property Value
IsAntialias
public bool IsAntialias { get; set; }
Property Value
IsStroke
public bool IsStroke { get; set; }
Property Value
ResizeFilter
public ResizeFilter ResizeFilter { set; }
Property Value
SKColor
[Obsolete("use Color instead of SKColor", true)]
public SKColor SKColor { get; set; }
Property Value
SKFont
public SKFont SKFont { get; set; }
Property Value
SKPaint
public SKPaint SKPaint { get; set; }
Property Value
SKPaintStyle
public SKPaintStyle SKPaintStyle { get; set; }
Property Value
SKPathEffect
public SKPathEffect SKPathEffect { get; set; }
Property Value
SKSamplingOptions
public SKSamplingOptions SKSamplingOptions { get; set; }
Property Value
SKShader
public SKShader? SKShader { get; set; }
Property Value
SKStrokeCap
public SKStrokeCap SKStrokeCap { get; set; }
Property Value
SKStrokeJoin
public SKStrokeJoin SKStrokeJoin { get; set; }
Property Value
SKTextAlign
public SKTextAlign SKTextAlign { get; set; }
Property Value
SKTypeface
public SKTypeface SKTypeface { get; set; }
Property Value
StrokeMiter
public float StrokeMiter { get; set; }
Property Value
StrokeWidth
public float StrokeWidth { get; set; }
Property Value
SubpixelText
public bool SubpixelText { get; set; }
Property Value
TextAlign
public HorizontalAlignment TextAlign { set; }
Property Value
TextSize
public float TextSize { get; set; }
Property Value
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
MeasureText(string)
public PixelRect MeasureText(string str)
Parameters
strstring
Returns
NewDisposablePaint()
public static Paint NewDisposablePaint()