Class WatermarkAttribute
Used to add a watermark to a string textbox in the editor field
Inheritance
System.Object
WatermarkAttribute
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public class WatermarkAttribute : Attribute
Constructors
WatermarkAttribute(String)
Initializes a new instance of the WatermarkAttribute class.
Declaration
public WatermarkAttribute(string text)
Parameters
System.String
text
The watermark text. |
WatermarkAttribute(String, UInt32)
Initializes a new instance of the WatermarkAttribute class.
Declaration
public WatermarkAttribute(string text, uint color)
Parameters
System.String
text
The watermark text. |
System.UInt32
color
The watermark color. 0 to use default. |
Fields
WatermarkColor
The watermark color (as 32-bit uint in RGB order, bottom bits contain Blue).
Declaration
public uint WatermarkColor
Field Value
System.UInt32
|
WatermarkText
The watermark text.
Declaration
public string WatermarkText
Field Value
System.String
|