SVGAngle
Generated.swift:101class SVGAngle
class SVGAngle
import SVG
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)
static let SVG_ANGLETYPE_DEG: UInt16
static let SVG_ANGLETYPE_GRAD: UInt16
static let SVG_ANGLETYPE_RAD: UInt16
static let SVG_ANGLETYPE_UNKNOWN: UInt16
static let SVG_ANGLETYPE_UNSPECIFIED: UInt16
class var constructor: JSFunction? { get }
let jsObject: JSObject
@ReadonlyAttribute var unitType: UInt16 { get }
@ReadWriteAttribute var value: Float { get set }
@ReadWriteAttribute var valueAsString: String { get set }
@ReadWriteAttribute var valueInSpecifiedUnits: Float { get set }
func convertToSpecifiedUnits(unitType: UInt16)
func newValueSpecifiedUnits(unitType: UInt16, valueInSpecifiedUnits: Float)
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