SVGSVGElement
Generated.swift:1341class SVGSVGElement
class SVGSVGElement
import SVG
class SVGGraphicsElement
protocol ARIAMixin : JSBridgedClass
protocol Any_CSSPseudoElement_or_Element : ConvertibleToJSValue
protocol Any_Element_or_HTMLCollection : ConvertibleToJSValue
protocol Any_Element_or_RadioNodeList : ConvertibleToJSValue
protocol Any_Element_or_Text : ConvertibleToJSValue
protocol Any_GeometryNode : ConvertibleToJSValue
protocol Any_Node_or_String : ConvertibleToJSValue
protocol ChildNode : JSBridgedClass
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 GeometryUtils : JSBridgedClass
protocol GlobalEventHandlers : JSBridgedClass
protocol HTMLOrSVGElement : JSBridgedClass
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.
protocol NonDocumentTypeChildNode : JSBridgedClass
protocol ParentNode : JSBridgedClass
protocol SVGElementInstance : JSBridgedClass
protocol SVGFitToViewBox : JSBridgedClass
protocol SVGTests : JSBridgedClass
protocol Slottable : JSBridgedClass
protocol WindowEventHandlers : JSBridgedClass
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
@ReadWriteAttribute var currentScale: Float { get set }
@ReadonlyAttribute var currentTranslate: DOMPointReadOnly { get }
@ReadonlyAttribute var height: SVGAnimatedLength { get }
@ReadonlyAttribute var width: SVGAnimatedLength { get }
@ReadonlyAttribute var x: SVGAnimatedLength { get }
@ReadonlyAttribute var y: SVGAnimatedLength { get }
func animationsPaused() -> Bool
func checkEnclosure(element: SVGElement, rect: DOMRectReadOnly) -> Bool
func checkIntersection(element: SVGElement, rect: DOMRectReadOnly) -> Bool
func createSVGAngle() -> SVGAngle
func createSVGLength() -> SVGLength
func createSVGMatrix() -> DOMMatrix
func createSVGNumber() -> SVGNumber
func createSVGPoint() -> DOMPoint
func createSVGRect() -> DOMRect
func createSVGTransform() -> SVGTransform
func createSVGTransformFromMatrix(matrix: DOMMatrix2DInit? = nil) -> SVGTransform
func deselectAll()
func forceRedraw()
func getCurrentTime() -> Float
func getElementById(elementId: String) -> Element
func getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement?) -> NodeList
func getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement?) -> NodeList
func pauseAnimations()
func setCurrentTime(seconds: Float)
func suspendRedraw(maxWaitMilliseconds: UInt32) -> UInt32
func unpauseAnimations()
func unsuspendRedraw(suspendHandleID: UInt32)
func unsuspendRedrawAll()
var onafterprint: EventHandler { get nonmutating set }
var onbeforeprint: EventHandler { get nonmutating set }
var onbeforeunload: OnBeforeUnloadEventHandler { get nonmutating set }
var onhashchange: EventHandler { get nonmutating set }
var onlanguagechange: EventHandler { get nonmutating set }
var onmessage: EventHandler { get nonmutating set }
var onmessageerror: EventHandler { get nonmutating set }
var onoffline: EventHandler { get nonmutating set }
var ononline: EventHandler { get nonmutating set }
var onpagehide: EventHandler { get nonmutating set }
var onpageshow: EventHandler { get nonmutating set }
var onpopstate: EventHandler { get nonmutating set }
var onrejectionhandled: EventHandler { get nonmutating set }
var onstorage: EventHandler { get nonmutating set }
var onunhandledrejection: EventHandler { get nonmutating set }
var onunload: EventHandler { get nonmutating set }
var preserveAspectRatio: SVGAnimatedPreserveAspectRatio { get }
var viewBox: SVGAnimatedRect { get }