Class HorizontalThreePatchTexture
A horizontal three-patch texture: a left cap, a stretched middle and a right cap, read from one image.
public class HorizontalThreePatchTexture : Texture
- Inheritance
-
HorizontalThreePatchTexture
- Inherited Members
Properties
Color
The color of the texture. Applies to all segments unless a segment overrides it.
[StringLength(7, MinimumLength = 7)]
public string Color { get; set; }
Property Value
FontColor
The font color to use with this texture, where it applies. White by default.
[StringLength(7, MinimumLength = 7)]
public string FontColor { get; set; }
Property Value
Left
The left cap.
[Required]
public NinePatchSubsection Left { get; set; }
Property Value
Middle
The stretched middle segment.
[Required]
public NinePatchSubsection Middle { get; set; }
Property Value
Right
The right cap.
[Required]
public NinePatchSubsection Right { get; set; }
Property Value
Texture
The image file the segments are read from.
[Required]
public TextureFile Texture { get; set; }