Class Item
Represents a text label visible on a display
Assembly: SlipeServer.dll
Syntax
Constructors
|
Improve this Doc
View Source
Item(Display, String, Vector2)
Declaration
public Item(Display display, string content, Vector2 position)
Parameters
|
Improve this Doc
View Source
Item(Display, String, Vector2, Priority)
Declaration
public Item(Display display, string content, Vector2 position, Priority priority)
Parameters
|
Improve this Doc
View Source
Item(Display, String, Vector2, Priority, Color, Single)
Declaration
public Item(Display display, string content, Vector2 position, Priority priority, Color color, float scale = 1F)
Parameters
|
Improve this Doc
View Source
Item(Display, String, Vector2, Priority, Color, Single, HorizontalAlignment, VerticalAlignment, Int32)
Declaration
public Item(Display display, string content, Vector2 position, Priority priority, Color color, float scale, HorizontalAlignment alignX, VerticalAlignment alignY, int shadowAlpha = 0)
Parameters
Properties
|
Improve this Doc
View Source
Color
Get and set the color of this item
Declaration
public Color Color { get; set; }
Property Value
|
Improve this Doc
View Source
Content
Declaration
public string Content { get; set; }
Property Value
|
Improve this Doc
View Source
Display
Declaration
public Display Display { get; }
Property Value
|
Improve this Doc
View Source
ItemElement
Declaration
public MtaElement ItemElement { get; }
Property Value
Type |
Description |
Slipe.MtaDefinitions.MtaElement |
|
|
Improve this Doc
View Source
Position
Get and set the screen position of this text item
Declaration
public Vector2 Position { get; set; }
Property Value
|
Improve this Doc
View Source
Priority
Get and set the priority with which to update this text
Declaration
public Priority Priority { get; set; }
Property Value
|
Improve this Doc
View Source
Scale
Get and set the scale of this text
Declaration
public float Scale { get; set; }
Property Value
|
Improve this Doc
View Source
Visible
Declaration
public bool Visible { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Destroy()
Declaration
Returns