Class Extents
Definition
- Assembly:
- Tizen.NUI.dll
Extents class describing the a collection of uint16_t.
public class Extents : Disposable, IDisposable, ICloneable
- Inheritance
- Implements
-
System.IDisposableSystem.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. |
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 SourceCopyFrom(Extents)
Copy other extents
Declaration
public void CopyFrom(Extents that)
Parameters
| Type | Name | Description |
|---|---|---|
| Extents | that |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when that is null. |
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. |