ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.FillStyle Class Reference

This configuration object (reference type) permanently lives inside objects which require styling. It is recommended to use this object as an init-only property. More...

Public Member Functions

void Render (SKCanvas canvas, PixelRect rect, SKPaint paint)
 
void ApplyToPaint (SKPaint paint, PixelRect rect)
 

Properties

Color Color = Colors.Transparent [get, set]
 
Color HatchColor = Colors.Gray [get, set]
 
IHatchHatch = null [get, set]
 
bool HasValue [get]
 
bool AntiAlias = true [get, set]
 
bool IsVisible = true [get, set]
 
bool CanBeRendered [get]
 

Detailed Description

This configuration object (reference type) permanently lives inside objects which require styling. It is recommended to use this object as an init-only property.

Member Function Documentation

◆ ApplyToPaint()

void ScottPlot.FillStyle.ApplyToPaint ( SKPaint  paint,
PixelRect  rect 
)
inline

◆ Render()

void ScottPlot.FillStyle.Render ( SKCanvas  canvas,
PixelRect  rect,
SKPaint  paint 
)
inline

Property Documentation

◆ AntiAlias

bool ScottPlot.FillStyle.AntiAlias = true
getset

◆ CanBeRendered

bool ScottPlot.FillStyle.CanBeRendered
get

◆ Color

Color ScottPlot.FillStyle.Color = Colors.Transparent
getset

◆ HasValue

bool ScottPlot.FillStyle.HasValue
get

◆ Hatch

IHatch? ScottPlot.FillStyle.Hatch = null
getset

◆ HatchColor

Color ScottPlot.FillStyle.HatchColor = Colors.Gray
getset

◆ IsVisible

bool ScottPlot.FillStyle.IsVisible = true
getset

The documentation for this class was generated from the following file: