DOMPoint
Generated.swift:3443class DOMPoint
class DOMPoint
import DOM
class DOMPointReadOnly
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
required init(unsafelyWrapping jsObject: JSObject)
convenience init(x: Double? = nil, y: Double? = nil, z: Double? = nil, w: Double? = nil)
override class var constructor: JSFunction? { get }
override class func fromPoint(other: DOMPointInit? = nil) -> Self
override var w: Double { get set }
override var x: Double { get set }
override var y: Double { get set }
override var z: Double { get set }