Class Size
Class implementation for Size
Inheritance
System.Object
Size
Namespace: Com.Syncfusion.Treemap
Assembly: Syncfusion.SfTreeMap.Android.dll
Syntax
public class Size : Object
Constructors
Size()
Initializes a new instance of the Size class.
Declaration
public Size()
Size(Double, Double)
Initializes a new instance of the Size class.
Declaration
public Size(double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width | To set width |
System.Double | height | To set height |
Size(Double, Double, Double, Double)
Initializes a new instance of the Size class.
Declaration
public Size(double x, double y, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | To set X |
System.Double | y | To set Y |
System.Double | width | To set width |
System.Double | height | To set height |
Fields
EMPTY
Gets or sets the size
Declaration
public static Size EMPTY
Field Value
Type |
---|
Size |
Properties
Height
Gets or sets the value for Height
Declaration
public double Height { get; set; }
Property Value
Type |
---|
System.Double |
Width
Gets or sets a value for Width
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |