CGSize Constructors

Definition

Overloads

CGSize(CGPoint)

Initializes a CGSize object from a CGPoint.

CGSize(CGSize)

Initializes a CGSize object from another CGSize.

CGSize(Double, Double)
CGSize(nfloat, nfloat)

Initializes a CGSize with the given width and height.

CGSize(Single, Single)

CGSize(CGPoint)

Initializes a CGSize object from a CGPoint.

public CGSize (CoreGraphics.CGPoint point);
new CoreGraphics.CGSize : CoreGraphics.CGPoint -> CoreGraphics.CGSize

Parameters

point
CGPoint

Applies to

CGSize(CGSize)

Initializes a CGSize object from another CGSize.

public CGSize (CoreGraphics.CGSize size);
new CoreGraphics.CGSize : CoreGraphics.CGSize -> CoreGraphics.CGSize

Parameters

size
CGSize

Applies to

CGSize(Double, Double)

public CGSize (double width, double height);
new CoreGraphics.CGSize : double * double -> CoreGraphics.CGSize

Parameters

width
Double
height
Double

Applies to

CGSize(nfloat, nfloat)

Initializes a CGSize with the given width and height.

public CGSize (nfloat width, nfloat height);
new CoreGraphics.CGSize : nfloat * nfloat -> CoreGraphics.CGSize

Parameters

width
nfloat
height
nfloat

Applies to

CGSize(Single, Single)

public CGSize (float width, float height);
new CoreGraphics.CGSize : single * single -> CoreGraphics.CGSize

Parameters

width
Single
height
Single

Applies to