--- title: "Astra.GuiStyle" version: snapshot-2026-10-06 engineGeneration: astra-current language: C# status: semantic-reference runtimeVerified: false platformEvidence: [] url: https://astraengine.com.br/pt-br/snapshot-2026-10-06/api/astra-guistyle/ --- # Astra.GuiStyle Colors use 0xAARRGGBB, matching the native editor and .aeui file. **Namespace:** `Astra` · **Assembly:** `Astra.Scripting` · **Tipo:** Struct :::note[Sobre esta referência] Assinaturas extraídas semanticamente com Roslyn/MSBuild. Isso confirma a superfície do código deste snapshot; não comprova execução no Android. As descrições vêm dos comentários da API. Membros sem explicação ainda exigem revisão editorial. ::: ## Declaração ```csharp readonly record struct Astra.GuiStyle ``` Colors use 0xAARRGGBB, matching the native editor and .aeui file. **Interfaces:** `System.IEquatable`. ## Membros | Membro | Categoria | |---|---| | [.ctor](#member-18527f472f44b344) | Method | | [Accent](#member-e5550e8c843f5457) | Property | | [Background](#member-2eaff5057989f5c7) | Property | | [ClipChildren](#member-6171f7c2237a7aa3) | Property | | [FontSize](#member-f747c87feb5676c5) | Property | | [Foreground](#member-f8c677b04be2f445) | Property | | [Radius](#member-ed20f911f2696191) | Property |

.ctor

```csharp public GuiStyle(uint Background, uint Foreground, uint Accent, bool ClipChildren, float FontSize, float Radius) ``` Colors use 0xAARRGGBB, matching the native editor and .aeui file. | Parâmetro | Tipo | Contrato | |---|---|---| | `Background` | `uint` | | | `Foreground` | `uint` | | | `Accent` | `uint` | | | `ClipChildren` | `bool` | | | `FontSize` | `float` | | | `Radius` | `float` | |

Accent

```csharp public uint Accent { get; init; } ```

Background

```csharp public uint Background { get; init; } ```

ClipChildren

```csharp public bool ClipChildren { get; init; } ```

FontSize

```csharp public float FontSize { get; init; } ```

Foreground

```csharp public uint Foreground { get; init; } ```

Radius

```csharp public float Radius { get; init; } ```