Skip to content

Commit

Permalink
Web Types 0.0.189 [generated]
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Jan 7, 2025
1 parent d6560b1 commit eb9b935
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,25 @@ open external class DOMMatrixReadOnly(

fun skewX(sx: Double = definedExternally): DOMMatrix
fun skewY(sy: Double = definedExternally): DOMMatrix

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)
*/
fun toFloat32Array(): Float32Array<*>

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)
*/
fun toFloat64Array(): Float64Array<*>

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON)
*/
fun toJSON(): Any

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
*/
fun transformPoint(point: DOMPointInit = definedExternally): DOMPoint
fun transformPoint(point: DOMPointReadOnly /* DOMPointInit */): DOMPoint

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ open external class DOMPointReadOnly(
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z)
*/
open val z: Double

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform)
*/
fun matrixTransform(matrix: DOMMatrixInit = definedExternally): DOMPoint
fun matrixTransform(matrix: DOMMatrixReadOnly /* DOMMatrixInit */): DOMPoint

Expand Down
7 changes: 7 additions & 0 deletions kotlin-browser/src/jsMain/generated/web/svg/SVGElement.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ private constructor() :
ElementCSSInlineStyle,
GlobalEventHandlers,
HTMLOrSVGElement {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/ownerSVGElement)
*/
val ownerSVGElement: SVGSVGElement?

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement)
*/
val viewportElement: SVGElement?

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,23 @@ package web.svg
open external class SVGLinearGradientElement
private constructor() :
SVGGradientElement {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x1)
*/
val x1: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x2)
*/
val x2: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y1)
*/
val y1: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y2)
*/
val y2: SVGAnimatedLength
}
12 changes: 12 additions & 0 deletions kotlin-browser/src/jsMain/generated/web/svg/SVGPatternElement.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,20 @@ private constructor() :
SVGFitToViewBox,
SVGURIReference {
val height: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternContentUnits)
*/
val patternContentUnits: SVGAnimatedEnumeration<SVGUnitTypes.Type>

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternTransform)
*/
val patternTransform: SVGAnimatedTransformList

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternUnits)
*/
val patternUnits: SVGAnimatedEnumeration<SVGUnitTypes.Type>
val width: SVGAnimatedLength
val x: SVGAnimatedLength
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,29 @@ package web.svg
open external class SVGRadialGradientElement
private constructor() :
SVGGradientElement {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cx)
*/
val cx: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy)
*/
val cy: SVGAnimatedLength
val fr: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx)
*/
val fx: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fy)
*/
val fy: SVGAnimatedLength

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/r)
*/
val r: SVGAnimatedLength
}
33 changes: 33 additions & 0 deletions kotlin-browser/src/jsMain/generated/web/svg/SVGTransform.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,57 @@ import web.geometry.DOMMatrixReadOnly
*/
external class SVGTransform
private constructor() {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/angle)
*/
val angle: Float

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix)
*/
val matrix: DOMMatrix

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/type)
*/
val type: Type

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setMatrix)
*/
fun setMatrix(matrix: DOMMatrix2DInit = definedExternally)
fun setMatrix(matrix: DOMMatrixReadOnly /* DOMMatrix2DInit */)

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setRotate)
*/
fun setRotate(
angle: Float,
cx: Float,
cy: Float,
)

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setScale)
*/
fun setScale(
sx: Float,
sy: Float,
)

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewX)
*/
fun setSkewX(angle: Float)

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewY)
*/
fun setSkewY(angle: Float)

/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setTranslate)
*/
fun setTranslate(
tx: Float,
ty: Float,
Expand Down

0 comments on commit eb9b935

Please sign in to comment.