UIImage Class
Definition
Namespace: Brine2D.UI
Image UI component for displaying textures.
Inheritance System.Object → UIImage
Implements IUIComponent
| Properties | |
|---|---|
| Alpha | Alpha transparency \(not yet supported by IRenderer \- for future use\). |
| MaintainAspectRatio | Whether to maintain aspect ratio when scaling. |
| Rotation | Rotation in degrees \(not yet supported by IRenderer\). |
| SourceRect | Source rectangle in texture \(null = use entire texture\). |
| Texture | Texture to display. |
| Methods | |
|---|---|
| SetTexture\(ITexture, bool\) | Sets the texture and optionally auto-sizes the component. |