Class NPatchVisual
Definition
- Assembly:
- Tizen.NUI.dll
A class encapsulating the property map of the n-patch image visual.
public class NPatchVisual : VisualMap, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceNPatchVisual()
Default constructor of NPatchVisual class.
Declaration
public NPatchVisual()
Properties
View SourceBorder
The border of the image is in the order: left, right, bottom, top.
For n-patch images only.
Optional.
Declaration
public Rectangle Border { get; set; }
Property Value
Type | Description |
---|---|
Rectangle |
BorderOnly
Gets or sets whether to draw the borders only (If true).
If not specified, the default is false.
For n-patch images only.
Optional.
Declaration
public bool BorderOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |
URL
Gets or sets the URL of the image.
Mandatory.
Declaration
public string URL { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceComposingPropertyMap()
Compose the out visual map.
Declaration
protected override void ComposingPropertyMap()
Overrides
Implements
System.IDisposable