Anvil
Anvil.API.NuiDrawListImage Class Reference
+ Inheritance diagram for Anvil.API.NuiDrawListImage:
+ Collaboration diagram for Anvil.API.NuiDrawListImage:

Public Member Functions

 NuiDrawListImage (NuiProperty< string > resRef, NuiProperty< NuiRect > rect)
 

Properties

NuiProperty< NuiAspect > Aspect = NuiAspect.Exact [get, set]
 
NuiProperty< NuiHAlign > HorizontalAlign = NuiHAlign.Left [get, set]
 
NuiProperty< NuiRect >? ImageRegion [get, set]
 Optionally render a subregion of the image.
This property is a NuiRect (x, y, w, h) to indicate the render region inside the image. More...
 
NuiProperty< NuiRectRect [get, set]
 
NuiProperty< string > ResRef [get, set]
 
override NuiDrawListItemType Type [get]
 
NuiProperty< NuiVAlign > VerticalAlign = NuiVAlign.Top [get, set]
 
- Properties inherited from Anvil.API.NuiDrawListItem
NuiProperty< Color >? Color [get, set]
 
NuiProperty< bool > Enabled = true [get, set]
 
NuiProperty< bool >? Fill [get, set]
 
NuiProperty< float >? LineThickness [get, set]
 
NuiDrawListItemOrder Order = NuiDrawListItemOrder.After [get, set]
 
NuiDrawListItemRender Render = NuiDrawListItemRender.Always [get, set]
 
abstract NuiDrawListItemType Type [get]
 

Property Documentation

◆ ImageRegion

NuiProperty<NuiRect>? Anvil.API.NuiDrawListImage.ImageRegion
getset

Optionally render a subregion of the image.
This property is a NuiRect (x, y, w, h) to indicate the render region inside the image.


The documentation for this class was generated from the following file: