Class StyleBoxTexture
- Namespace
- Forma
- Assembly
- Forma.dll
Texture-backed style surface, optionally rendered as a nine-patch.
public sealed class StyleBoxTexture : StyleBox
- Inheritance
-
StyleBoxTexture
- Inherited Members
Constructors
StyleBoxTexture()
public StyleBoxTexture()
Properties
Modulate
public Color Modulate { get; set; }
Property Value
- Color
PatchMargin
public Thickness PatchMargin { get; set; }
Property Value
Texture
public Texture2D Texture { get; set; }
Property Value
- Texture2D
Methods
Draw(UIRenderContext, Rectangle)
public override void Draw(UIRenderContext context, Rectangle bounds)
Parameters
contextUIRenderContextboundsRectangle