Table of Contents

Class NineSlice

Namespace
PluginUI
Assembly
PluginUI.dll

Image drawn with fixed corners and stretched edges/center (9-patch), for scalable panels and buttons.

public sealed record NineSlice : IEquatable<NineSlice>
Inheritance
NineSlice
Implements
Inherited Members

Constructors

NineSlice(ImageSource, Thickness)

Image drawn with fixed corners and stretched edges/center (9-patch), for scalable panels and buttons.

public NineSlice(ImageSource Image, Thickness Insets)

Parameters

Image ImageSource

Source image.

Insets Thickness

Size of the fixed borders, in image pixels.

Properties

Image

Source image.

public ImageSource Image { get; init; }

Property Value

ImageSource

Insets

Size of the fixed borders, in image pixels.

public Thickness Insets { get; init; }

Property Value

Thickness