Class SvgStateSkin
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
One SVG per discrete state (switches, toggles) or per value range (meters): frame = state index,
or value × (count − 1) when byValue is true.
public sealed class SvgStateSkin : IControlSkin
- Inheritance
-
SvgStateSkin
- Implements
- Inherited Members
Constructors
SvgStateSkin(IReadOnlyList<SvgImage>, bool)
One SVG per discrete state (switches, toggles) or per value range (meters): frame = state index,
or value × (count − 1) when byValue is true.
public SvgStateSkin(IReadOnlyList<SvgImage> frames, bool byValue = false)
Parameters
framesIReadOnlyList<SvgImage>byValuebool
Methods
Render(DrawingContext, Control, in SkinState)
Draws the control for the given state.
public void Render(DrawingContext dc, Control control, in SkinState state)
Parameters
dcDrawingContextcontrolControlstateSkinState