Class Extents
Definition
- Assembly:
- Tizen.NUI.dll
Extents class describing the a collection of uint16_t.
public class Extents : Disposable, ICloneable
- Inheritance
- Implements
-
ICloneable
Constructors
View SourceExtents()
Default constructor of Extents class.
Declaration
public Extents()
Extents(ushort, ushort, ushort, ushort)
Constructor.
The start extent value horizontally. The end extent value horizontally. The top extent value vertically. The bottom extent value vertically.Declaration
public Extents(ushort start, ushort end, ushort top, ushort bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| ushort | start | |
| ushort | end | |
| ushort | top | |
| ushort | bottom |
Extents(ExtentsChangedCallback, ushort, ushort, ushort, ushort)
Constructor
Declaration
public Extents(Extents.ExtentsChangedCallback cb, ushort start, ushort end, ushort top, ushort bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| Extents.ExtentsChangedCallback | cb | |
| ushort | start | The start extent value horizontally. |
| ushort | end | The end extent value horizontally. |
| ushort | top | The top extent value vertically. |
| ushort | bottom | The bottom extent value vertically. |
Extents(Extents)
Constructor.
Declaration
public Extents(Extents copy)
Parameters
| Type | Name | Description |
|---|---|---|
| Extents | copy | A reference to the copied Extents. |
Fields
View SourceZero
Extents with all zero values.
Declaration
public static readonly Extents Zero
Field Value
| Type | Description |
|---|---|
| Extents |
Properties
View SourceBottom
The Bottom Extend.
Declaration
public ushort Bottom { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Remarks
The setter is deprecated in API8 and will be removed in API10. Use new Extents(...) constructor.
End
The End extend.
Declaration
public ushort End { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Remarks
The setter is deprecated in API8 and will be removed in API10. Use new Extents(...) constructor.
Start
The Start extent.
Declaration
public ushort Start { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Remarks
The setter is deprecated in API8 and will be removed in API10. Ue new Extents(...) constructor.
Top
The Top extend.
Declaration
public ushort Top { get; set; }
Property Value
| Type | Description |
|---|---|
| ushort |
Remarks
The setter is deprecated in API8 and will be removed in API10. Use new Extents(...) constructor.
Methods
View SourceClone()
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| object |
CopyFrom(Extents)
Copy other extents
Declaration
public void CopyFrom(Extents that)
Parameters
| Type | Name | Description |
|---|---|---|
| Extents | that |
EqualTo(Extents)
Equality operator.
Declaration
public bool EqualTo(Extents rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| Extents | rhs | The Extents to test against. |
Returns
| Type | Description |
|---|---|
| bool | True if the extents are not equal. |
NotEqualTo(Extents)
Inequality operator.
Declaration
public bool NotEqualTo(Extents rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| Extents | rhs | The Extents to test against. |
Returns
| Type | Description |
|---|---|
| bool | True if the extents are not equal. |
ReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.InteropServices.HandleRef | swigCPtr |
Overrides
Operators
View Sourceimplicit operator Extents(ushort)
The type cast operator, ushort to Extents.
Declaration
public static implicit operator Extents(ushort value)
Parameters
| Type | Name | Description |
|---|---|---|
| ushort | value | A value of ushort type. |
Returns
| Type | Description |
|---|---|
| Extents | return a Extents instance |