Contents

CGSizeMake(_:_:)

Returns a size with the specified dimension values.

Declaration

func CGSizeMake(_ width: CGFloat, _ height: CGFloat) -> CGSize

Parameters

  • width:

    A width value.

  • height:

    A height value.

Return Value

Returns a CGSize structure with the specified width and height.

See Also

Creating a Geometric Primitive from Values