Class SvgRotarySkin
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
SVG knob: optional static background, a rotor rotated from MinAngle to MaxAngle with the value, and an optional static foreground (highlights, glass).
public sealed class SvgRotarySkin : IControlSkin
- Inheritance
-
SvgRotarySkin
- Implements
- Inherited Members
Constructors
SvgRotarySkin(SvgImage, SvgImage?, SvgImage?)
SVG knob: optional static background, a rotor rotated from MinAngle to MaxAngle with the value, and an optional static foreground (highlights, glass).
public SvgRotarySkin(SvgImage rotor, SvgImage? background = null, SvgImage? foreground = null)
Parameters
Properties
MaxAngle
Angle at value 1.
public float MaxAngle { get; init; }
Property Value
MinAngle
Angle at value 0 (degrees, clockwise from 12 o'clock).
public float MinAngle { get; init; }
Property Value
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