Table of Contents

Class Region

Namespace
BSGameLib.UI.Builder.Models
Assembly
BSGameLib.UI.dll

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

string

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

Point

PositionValue

The Position attribute's text form. Use Position in code.

public string PositionValue { get; set; }

Property Value

string

Size

The region's size in pixels. Written through SizeValue.

[Required]
public Size Size { get; set; }

Property Value

Size

SizeValue

The Size attribute's text form. Use Size in code.

public string SizeValue { get; set; }

Property Value

string