Description | Hierarchy | Fields | Methods | Properties |
type TGUIImage = class(TGUIElement)
GUI element displaying an image.
![]() |
procedure SetColor(NColor: TARGBColor); inline; |
![]() |
procedure SetImage(Image: TTexture); inline; |
![]() |
property ScaleImage: Boolean read IsImageScaled write SetScaleImage; |
![]() |
property UseAlphaChannel: Boolean read IsAlphaChannelUsed write SetUseAlphaChannel; |
![]() |
procedure SetColor(NColor: TARGBColor); inline; |
Sets the colour of the image. |
![]() |
procedure SetImage(Image: TTexture); inline; |
Sets a new image. |
![]() |
property ScaleImage: Boolean read IsImageScaled write SetScaleImage; |
Specifies whether the image should scale to fit the element. |
![]() |
property UseAlphaChannel: Boolean read IsAlphaChannelUsed write SetUseAlphaChannel; |
Specifies whether the image should use its alpha channel to draw itself. |