Struct TextureButtonLayout

Namespace
Forma
Assembly
Forma.dll

Local texture destination and source rectangles calculated for a TextureButton.

public readonly struct TextureButtonLayout
Inherited Members

Constructors

TextureButtonLayout(Rectangle, Rectangle, bool)

public TextureButtonLayout(Rectangle destination, Rectangle source, bool tile)

Parameters

destination Rectangle
source Rectangle
tile bool

Properties

Destination

public Rectangle Destination { get; }

Property Value

Rectangle

Source

public Rectangle Source { get; }

Property Value

Rectangle

Tile

public bool Tile { get; }

Property Value

bool