PlanBaseDrawCounterAsTile Method |
Draw the value of a counter as a bar filled with a tile's image.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual void DrawCounterAsTile(
int TileIndex,
Counter counter,
PlanBaseDrawStyle style
)
Parameters
- TileIndex
- Type: SystemInt32
Specifies the index of a tile from this plan's layer - counter
- Type: (Default Namespace)Counter
Specifies which counter's value is being drawn - style
- Type: (Default Namespace)PlanBaseDrawStyle
Specifies a style with which the tile will fill the bar
Remarks The size of the plan determines the maximum proportions of the bar.
The counter value determines the drawn/current size of the bar.
See
PlanBaseDrawStyle for details about the different ways in which the bar
can be filled.
See Also