Class Extents

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

Extents class describing the a collection of uint16_t.

C#
Copy
public class Extents : Disposable, IDisposable, ICloneable
Inheritance
object
Extents
Implements
System.IDisposable
System.ICloneable

Constructors

View Source

Extents()

Default constructor of Extents class.

Declaration
C#
Copy
public Extents()
View Source

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
C#
Copy
public Extents(ushort start, ushort end, ushort top, ushort bottom)
Parameters
Type Name Description
ushort start
ushort end
ushort top
ushort bottom
View Source

Extents(ExtentsChangedCallback, ushort, ushort, ushort, ushort)

Constructor

Declaration
C#
Copy
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.

View Source

Extents(Extents)

Constructor.

Declaration
C#
Copy
public Extents(Extents copy)
Parameters
Type Name Description
Extents copy

A reference to the copied Extents.

Properties

View Source

Bottom

The Bottom Extend.

Declaration
C#
Copy
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.

View Source

End

The End extend.

Declaration
C#
Copy
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.

View Source

Start

The Start extent.

Declaration
C#
Copy
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.

View Source

Top

The Top extend.

Declaration
C#
Copy
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 Source

CopyFrom(Extents)

Copy other extents

Declaration
C#
Copy
public void CopyFrom(Extents that)
Parameters
Type Name Description
Extents that
Exceptions
Type Condition
System.ArgumentNullException

Thrown when that is null.

View Source

EqualTo(Extents)

Equality operator.

Declaration
C#
Copy
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.

View Source

NotEqualTo(Extents)

Inequality operator.

Declaration
C#
Copy
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.

Implements

System.IDisposable
System.ICloneable