Class PaddingType
Definition
- Assembly:
- Tizen.NUI.dll
The PaddingType class represents padding properties used in layouting.
public class PaddingType : Disposable, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourcePaddingType()
Creates an uninitialized PaddingType.
Declaration
public PaddingType()
PaddingType(float, float, float, float)
PaddingType Constructor.
Declaration
public PaddingType(float start, float end, float top, float bottom)
Parameters
Type | Name | Description |
---|---|---|
float | start | Start padding or X coordinate |
float | end | End padding or Y coordinate |
float | top | Top padding or Height |
float | bottom | Bottom padding or Width |
Properties
View SourceBottom
The Bottom value vertically.
Declaration
public float Bottom { get; set; }
Property Value
Type | Description |
---|---|
float |
End
The End value horizontally.
Declaration
public float End { get; set; }
Property Value
Type | Description |
---|---|
float |
Start
The Start value horizontally.
Declaration
public float Start { get; set; }
Property Value
Type | Description |
---|---|
float |
Top
The Top value vertically.
Declaration
public float Top { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
View SourceEquals(object)
Equals
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | The object should be compared. |
Returns
Type | Description |
---|---|
bool | True if equal. |
Overrides
object.Equals(object)
View Source
GetHashCode()
Gets the hash code of this baseHandle.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The Hash Code. |
Overrides
object.GetHashCode()
View Source
ReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |
Overrides
Tizen.NUI.Disposable.ReleaseSwigCPtr(Tizen.System.Runtime.InteropServices.HandleRef)
View Source
Set(float, float, float, float)
Assignment from individual values.
Declaration
public void Set(float newStart, float newEnd, float newTop, float newBottom)
Parameters
Type | Name | Description |
---|---|---|
float | newStart | Start padding or X coordinate |
float | newEnd | End padding or Y coordinate |
float | newTop | Top padding or Height |
float | newBottom | Bottom padding or Width |
Operators
View Sourceoperator ==(PaddingType, PaddingType)
Equality operator.
Declaration
public static bool operator ==(PaddingType a, PaddingType b)
Parameters
Type | Name | Description |
---|---|---|
PaddingType | a | First operand |
PaddingType | b | Second operand |
Returns
Type | Description |
---|---|
bool | True if the values are identical |
operator !=(PaddingType, PaddingType)
Inequality operator.
Declaration
public static bool operator !=(PaddingType a, PaddingType b)
Parameters
Type | Name | Description |
---|---|---|
PaddingType | a | First operand |
PaddingType | b | Second operand |
Returns
Type | Description |
---|---|
bool | True if the values are not identical |
Implements
System.IDisposable