C# Class Core2D.Math.Size2

Size definition.
Show file Open project: Core2D/Core2D

Public Properties

Property Type Description
Height double
Width double

Public Methods

Method Description
Create ( double width, double height ) : Size2

Creates a new Size2 instance.

Size2 ( double width, double height )

Initializes a new Size2 instance.

Method Details

Create() public static method

Creates a new Size2 instance.
public static Create ( double width, double height ) : Size2
width double
height double
return Size2

Size2() public method

Initializes a new Size2 instance.
public Size2 ( double width, double height )
width double
height double

Property Details

Height public property

public double Height
return double

Width public property

public double Width
return double