menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Size - API Reference

    Show / Hide Table of Contents

    Class Size

    Class implementation of Size

    Inheritance
    System.Object
    Size
    Namespace: Com.Syncfusion.Maps
    Assembly: Syncfusion.SfMaps.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 the value for x

    System.Double y

    To set the value for y

    System.Double width

    To set the value for width

    System.Double height

    To set the value for height

    Properties

    EMPTY

    Gets or sets the size value

    Declaration
    public static Size EMPTY { get; set; }
    Property Value
    Type Description
    Size

    Height

    Gets and Sets the Height.

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    Width

    Gets and Sets the Width.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    X

    Gets or sets the X value

    Declaration
    public double X { get; set; }
    Property Value
    Type Description
    System.Double

    Y

    Gets or sets the Y value

    Declaration
    public double Y { get; set; }
    Property Value
    Type Description
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved