Pular para o conteúdo
AstraDOCS

Astra.ScreenRect

Astra atual · C# · 06 out. 2026Referência de assinaturas

Retângulo em pixels da vista de jogo, origem no canto inferior esquerdo.

Namespace: Astra · Assembly: Astra.Scripting · Tipo: Struct

readonly record struct Astra.ScreenRect

Retângulo em pixels da vista de jogo, origem no canto inferior esquerdo.

Interfaces: System.IEquatable<Astra.ScreenRect>.

Membro Categoria
.ctor Method
Height Property
Width Property
X Property
Y Property

.ctor

public ScreenRect(float X, float Y, float Width, float Height)

Retângulo em pixels da vista de jogo, origem no canto inferior esquerdo.

Parâmetro Tipo Contrato
X float
Y float
Width float
Height float

Height

public float Height { get; init; }

Width

public float Width { get; init; }

X

public float X { get; init; }

Y

public float Y { get; init; }