Table of Contents

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

rotor SvgImage
background SvgImage
foreground SvgImage

Properties

MaxAngle

Angle at value 1.

public float MaxAngle { get; init; }

Property Value

float

MinAngle

Angle at value 0 (degrees, clockwise from 12 o'clock).

public float MinAngle { get; init; }

Property Value

float

Methods

Render(DrawingContext, Control, in SkinState)

Draws the control for the given state.

public void Render(DrawingContext dc, Control control, in SkinState state)

Parameters

dc DrawingContext
control Control
state SkinState