Initializer

init(dictionaryRepresentation:)

Creates a point from a canonical dictionary representation.

Declaration

init?(dictionaryRepresentation dict: CFDictionary)

Parameters

dict

A dictionary containing x and y values for the point to create, in the format used by the dictionaryRepresentation property.

Return Value

A point structure containing the x and y values specified in the dictionary, or nil if a point value cannot be found in the dictionary.

See Also

Alternate Representations

var dictionaryRepresentation: CFDictionary

Returns a dictionary representation of the specified point.

var debugDescription: String

A textual representation of the point’s coordinate values.

var customMirror: Mirror

A representation of the point’s structure and display style for use in debugging.

var customPlaygroundQuickLook: PlaygroundQuickLook

A representation of the point for use in Playgrounds.

Deprecated