Class Region
One named region of a texture atlas.
public class Region
- Inheritance
-
Region
- Inherited Members
Properties
Id
The name the region is referred to by.
[Required]
public string Id { get; set; }
Property Value
Position
The region's starting position in pixels, from the top left of the atlas. Written through PositionValue.
[Required]
public Point Position { get; set; }
Property Value
PositionValue
The Position attribute's text form. Use Position in code.
public string PositionValue { get; set; }
Property Value
Size
The region's size in pixels. Written through SizeValue.
[Required]
public Size Size { get; set; }
Property Value
SizeValue
The Size attribute's text form. Use Size in code.
public string SizeValue { get; set; }