Urho
1.0.0.0
Urho.Gui.UIElement
Image UI element with optional border.
The and elements deriving from it specify a texture and an absolute pixel rect within it to use for rendering; see and . The texture is modulated with the element's color. To allow for more versatile scaling the element can be divided into 9 sub-quads or patches by specifying the width of each of its borders, see . Setting zero borders (the default) causes the element to be drawn as one quad.
The absolute pixel rects interact poorly with the texture quality setting, which reduces texture sizes by skipping the topmost mipmaps. Generating mipmaps is also often unnecessary for UI textures, as they are usually displayed with 1:1 ratio on the screen. Therefore it's a good practice to use the following accompanying settings XML file for UI textures to disable quality reduction and mipmaps (mipmap enable set to false, quality low set to zero in the texture xml group).
Constructor
1.0.0.0
Constructs a new instance of Urho.Gui.BorderImage which is tied to the .
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Gui.BorderImage, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
The context that this object will be attached to.
Constructs a new instance of Urho.Gui.BorderImage linked to a specific .
Constructor
1.0.0.0
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Property
1.0.0.0
Urho.BlendMode
Return blend mode.
Or
Set blend mode.
To be added.
To be added.
Property
1.0.0.0
Urho.IntRect
Return border screen dimensions.
Or
Set border dimensions on the screen.
To be added.
To be added.
Property
1.0.0.0
Urho.IntVector2
Return offset to image rectangle used on hover.
Or
Set offset to image rectangle used on hover.
To be added.
To be added.
Property
1.0.0.0
Urho.IntRect
Return border image dimensions. Zero rect uses border screen dimensions.
Or
Set border dimensions on the image. If zero (default) uses the screen dimensions, resulting in pixel-perfect borders.
To be added.
To be added.
Property
1.0.0.0
Urho.IntRect
Return image rectangle.
Or
Set part of texture to use as the image.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory.
To be added.
Method
1.0.0.0
System.Void
Use whole texture as the image.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set offset to image rectangle used on hover.
To be added.
Property
1.0.0.0
Urho.Texture
Return texture.
Or
Set texture.
To be added.
To be added.
Property
1.0.0.0
Urho.ResourceRef
Return texture attribute.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Determines whether the image is tiled.
To be added.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Urho.StringHash
Urho's low-level type, accessible as a static method.
This returns the Urho's type and is surface for the low-level Urho code.