DOMQuad
Generated.swift:3564class DOMQuad
class DOMQuad
import DOM
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.
convenience init(p1: DOMPointInit? = nil, p2: DOMPointInit? = nil, p3: DOMPointInit? = nil, p4: DOMPointInit? = nil)
required init(unsafelyWrapping jsObject: JSObject)
class var constructor: JSFunction? { get }
class func fromQuad(other: DOMQuadInit? = nil) -> Self
class func fromRect(other: DOMRectInit? = nil) -> Self
let jsObject: JSObject
@ReadonlyAttribute var p1: DOMPoint { get }
@ReadonlyAttribute var p2: DOMPoint { get }
@ReadonlyAttribute var p3: DOMPoint { get }
@ReadonlyAttribute var p4: DOMPoint { get }
func getBounds() -> DOMRect
func toJSON() -> JSObject
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
var description: String { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue