Table of Contents

Interface ISkin

Namespace
VisioForge.Core.UI.Skins
Assembly
VisioForge.Core.dll

Defines the contract for UI skin implementations that provide theming and styling capabilities. Implementations of this interface supply visual assets and styling data for media player and capture control UI elements.

public interface ISkin

Remarks

Skins provide visual customization by defining images and styles for various UI elements such as buttons, sliders, and control panels. The skin system supports multiple visual states (base, hover, pressed, disabled) for interactive elements, enabling rich visual feedback during user interaction.

Methods

GetElement(SkinElementType)

Retrieves the skin element data for a specific UI element type.

SkinElementData GetElement(SkinElementType element)

Parameters

element SkinElementType

The type of UI element to retrieve skin data for.

Returns

SkinElementData

A VisioForge.Core.UI.Skins.SkinElementData object containing the styling information for the specified element type, or null if the element is not defined in this skin.

Remarks

The returned VisioForge.Core.UI.Skins.SkinElementData contains image data for multiple visual states (base, hover, pressed, disabled) and indicates whether the images are in SVG or raster format.

GetName()

Gets the display name of the skin for identification purposes.

string GetName()

Returns

string

A string containing the human-readable name of the skin used for selection and display in user interfaces.

Remarks

The name should be unique across all loaded skins to allow proper identification and retrieval via VisioForge.Core.UI.Skins.SkinManager.GetSkinByName(System.String).