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
ImageImageSourceSource image.
InsetsThicknessSize of the fixed borders, in image pixels.
Properties
Image
Source image.
public ImageSource Image { get; init; }
Property Value
Insets
Size of the fixed borders, in image pixels.
public Thickness Insets { get; init; }