Class Image
Extends the ElmSharp.Image class with functionality useful to renderer.
Inheritance
System.Object
Image
Implements
Namespace: Tizen.UIExtensions.ElmSharp
Assembly: Tizen.UIExtensions.ElmSharp.dll
Syntax
public class Image : ElmSharp.Image, IMeasurable
Constructors
Image(EvasObject)
Initializes a new instance of the Image class.
Declaration
public Image(EvasObject parent)
Parameters
| Type | Name | Description |
|---|---|---|
| EvasObject | parent | The parent EvasObject. |
Properties
Aspect
Gets or sets the scaling mode for the image.
Declaration
public Aspect Aspect { get; set; }
Property Value
| Type | Description |
|---|---|
| Aspect |
Methods
Measure(Double, Double)
Measures the size of the control in order to fit it into the available area.
Declaration
public Size Measure(double availableWidth, double availableHeight)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | availableWidth | Available width. |
| System.Double | availableHeight | Available height. |
Returns
| Type | Description |
|---|---|
| Size | Size of the control that fits the available area. |