|
Vertices Engine
v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
|
Art provider base class which holds common elements such as Padding, Highlight colour etc... More...
Public Member Functions | |
| virtual SpriteFont | GetFont () |
| vxArtProviderBase () | |
| Initializes a new instance of the T:VerticesEngine.UI.vxArtProviderBase class. | |
| virtual void | SetBounds () |
| Many sizes and positions are set based off of screensize, although this can change if a user changes the resolution settings. Therefore, this SetBounds() method will be where the sizes will be set. | |
Public Attributes | |
| Vector4 | Margin |
| Gets or sets the margin. | |
| Vector2 | Padding |
| Gets or sets the padding. | |
| float | Alpha |
| The alpha transparency value. | |
| bool | UseSpriteSheet = false |
| This controls whether or not the control should be drawn using regions of the GUI Sprite Sheet. | |
| Rectangle | SpriteSheetRegion |
| The sprite sheet region. | |
| Rectangle | TitleSpriteSheetRegion = new Rectangle(0, 0, 4, 4) |
| The title sprite sheet region. | |
| Texture2D | BackgroundImage |
| Gets or sets the background image. | |
| bool | DrawBackgroungImage |
| Gets or sets a value indicating whether this VerticesEngine.UI.Themes.vxMenuItemArtProvider draw backgroung image. | |
| int | BorderWidth |
| Gets or sets the width of the border. | |
| bool | DoBorder |
| Gets or sets a value indicating whether this VerticesEngine.UI.vxArtProviderBase do border. | |
| int | DefaultWidth |
| Gets or sets the default width. | |
| int | DefaultHeight |
| The default height. | |
| vxUIControlTheme | Theme |
| The colour theme for this specific Art Provider. | |
Properties | |
| GraphicsDevice | GraphicsDevice [get] |
| Gets the graphics device. | |
| Viewport | Viewport [get] |
| Gets the viewport. | |
| vxSpriteBatch | SpriteBatch [get] |
| Gets the sprite batch. | |
| float | Opacity [get, set] |
| Gets or sets the opacity of the current GUI Item. | |
| SpriteFont | Font [get] |
| Text Of GUI Item. | |
| Texture2D | DefaultTexture [get] |
| Gets the default texture. | |
Art provider base class which holds common elements such as Padding, Highlight colour etc...
| VerticesEngine.UI.vxArtProviderBase.vxArtProviderBase | ( | ) |
Initializes a new instance of the T:VerticesEngine.UI.vxArtProviderBase class.
| Engine | Engine. |
|
virtual |
Many sizes and positions are set based off of screensize, although this can change if a user changes the resolution settings. Therefore, this SetBounds() method will be where the sizes will be set.
Reimplemented in VerticesEngine.UI.Themes.vxDialogArtProvider.
| Texture2D VerticesEngine.UI.vxArtProviderBase.BackgroundImage |
Gets or sets the background image.
The background image.
| int VerticesEngine.UI.vxArtProviderBase.BorderWidth |
Gets or sets the width of the border.
The width of the border.
| int VerticesEngine.UI.vxArtProviderBase.DefaultWidth |
Gets or sets the default width.
The default width.
| bool VerticesEngine.UI.vxArtProviderBase.DoBorder |
Gets or sets a value indicating whether this VerticesEngine.UI.vxArtProviderBase do border.
true if do border; otherwise, false.
| bool VerticesEngine.UI.vxArtProviderBase.DrawBackgroungImage |
Gets or sets a value indicating whether this VerticesEngine.UI.Themes.vxMenuItemArtProvider draw backgroung image.
true if draw backgroung image; otherwise, false.
| Vector4 VerticesEngine.UI.vxArtProviderBase.Margin |
Gets or sets the margin.
The margin.
| Vector2 VerticesEngine.UI.vxArtProviderBase.Padding |
Gets or sets the padding.
The padding.
|
get |
Gets the default texture.
The default texture.
|
get |
Gets the graphics device.
The graphics device.
|
getset |
Gets or sets the opacity of the current GUI Item.
The opacity.
|
get |
Gets the sprite batch.
The sprite batch.
|
get |
Gets the viewport.
The viewport.