Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class SVGCircleAttrsScope : SVGGraphicalElementAttrsScope<SVGCircleElement> , CenterCoordinateAttrs<SVGCircleElement>
Link copied to clipboard
Link copied to clipboard
abstract external class SVGComponentTransferFunctionElement : SVGElement

Exposes the JavaScript SVGComponentTransferFunctionElement to Kotlin

Link copied to clipboard
abstract class SVGContainerElementAttrsScope<E : SVGElement>(attrs: AttrsScope<E>) : SVGGraphicalElementAttrsScope<E>
Link copied to clipboard
Link copied to clipboard
class SVGDefsAttrsScope : SVGElementAttrsScope<SVGDefsElement>
Link copied to clipboard
Link copied to clipboard
abstract class SVGElementAttrsScope<E : SVGElement> : AttrsScope<E>

Our own SVG-specific extensions on top of AttrsScope<SVGElement>.

Link copied to clipboard
class SVGEllipseAttrsScope : SVGGraphicalElementAttrsScope<SVGEllipseElement> , CenterCoordinateAttrs<SVGEllipseElement>
Link copied to clipboard
abstract external class SVGFEBlendElement : SVGElement, SVGFECommon, SVGFEInput2

Exposes the JavaScript SVGFEBlendElement to Kotlin

Link copied to clipboard
abstract external class SVGFEColorMatrixElement : SVGElement, SVGFECommon, SVGFEInput1

Exposes the JavaScript SVGFEColorMatrixElement to Kotlin

Link copied to clipboard
abstract external class SVGFEComponentTransferElement : SVGElement, SVGFECommon

Exposes the JavaScript SVGFEComponentTransferElement to Kotlin

Link copied to clipboard
abstract external class SVGFECompositeElement : SVGElement, SVGFECommon, SVGFEInput2

Exposes the JavaScript SVGFECompositeElement to Kotlin

Link copied to clipboard
abstract external class SVGFEConvolveMatrixElement : SVGElement, SVGFECommon, SVGFEInput1

Exposes the JavaScript SVGFEConvolveMatrixElement to Kotlin

Link copied to clipboard
abstract external class SVGFEDiffuseLightingElement : SVGElement, SVGFECommon, SVGFEInput1

Exposes the JavaScript SVGFEDiffuseLightingElement to Kotlin

Link copied to clipboard
abstract external class SVGFEDisplacementMapElement : SVGElement, SVGFECommon, SVGFEInput2

Exposes the JavaScript SVGFETurbulenceElement to Kotlin

Link copied to clipboard
abstract external class SVGFEDistantLightElement : SVGElement

Exposes the JavaScript SVGFEDistantLightElement to Kotlin

Link copied to clipboard
abstract external class SVGFEDropShadowElement : SVGElement, SVGFECommon, SVGFEInput1, SVGFEStdDeviation

Exposes the JavaScript SVGFEDropShadowElement to Kotlin

Link copied to clipboard
abstract external class SVGFEFloodElement : SVGElement, SVGFECommon

Exposes the JavaScript SVGFEFloodElement to Kotlin

Link copied to clipboard

Exposes the JavaScript SVGFEFuncAElement to Kotlin

Link copied to clipboard

Exposes the JavaScript SVGFEFuncBElement to Kotlin

Link copied to clipboard

Exposes the JavaScript SVGFEFuncGElement to Kotlin

Link copied to clipboard

Exposes the JavaScript SVGFEFuncRElement to Kotlin

Link copied to clipboard
abstract external class SVGFEGaussianBlurElement : SVGElement, SVGFECommon, SVGFEInput1, SVGFEStdDeviation

Exposes the JavaScript SVGFEGaussianBlurElement to Kotlin

Link copied to clipboard
abstract external class SVGFEImageElement : SVGElement, SVGFECommon

Exposes the JavaScript SVGFEImageElement to Kotlin

Link copied to clipboard
abstract external class SVGFEMergeElement : SVGElement, SVGFECommon

Exposes the JavaScript SVGFEMergeElement to Kotlin

Link copied to clipboard
abstract external class SVGFEMergeNodeElement : SVGElement, SVGFEInput1

Exposes the JavaScript SVGFEMergeNodeElement to Kotlin

Link copied to clipboard
abstract external class SVGFEMorphologyElement : SVGElement, SVGFECommon, SVGFEInput1

Exposes the JavaScript SVGFEMorphologyElement to Kotlin

Link copied to clipboard
abstract external class SVGFEOffsetElement : SVGElement, SVGFECommon, SVGFEInput1

Exposes the JavaScript SVGFEOffsetElement to Kotlin

Link copied to clipboard
abstract external class SVGFEPointLightElement : SVGElement

Exposes the JavaScript SVGFEPointLightElement to Kotlin

Link copied to clipboard
abstract external class SVGFESpecularLightingElement : SVGElement, SVGFECommon, SVGFEInput1

Exposes the JavaScript SVGFESpecularLightingElement to Kotlin

Link copied to clipboard
abstract external class SVGFESpotLightElement : SVGElement

Exposes the JavaScript SVGFESpotLightElement to Kotlin

Link copied to clipboard
abstract external class SVGFETileElement : SVGElement, SVGFECommon, SVGFEInput1

Exposes the JavaScript SVGFETileElement to Kotlin

Link copied to clipboard
abstract external class SVGFETurbulenceElement : SVGElement, SVGFECommon

Exposes the JavaScript SVGFETurbulenceElement to Kotlin

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract external class SVGFilterElement : SVGElement

Exposes the JavaScript SVGFilterElement to Kotlin

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class SVGGradientAttrsScope<E : SVGGradientElement> : SVGElementAttrsScope<E>
Link copied to clipboard
Link copied to clipboard
abstract class SVGGraphicalElementAttrsScope<E : SVGElement>(attrs: AttrsScope<E>) : SVGElementAttrsScope<E> , PresentationAttrs<E>
Link copied to clipboard
Link copied to clipboard
value class SvgId(val value: String)

An ID tied to some reusable SVG element.

Link copied to clipboard
class SVGImageAttrsScope : SVGGraphicalElementAttrsScope<SVGImageElement> , CoordinateAttrs<SVGImageElement> , LengthAttrs<SVGImageElement> , PreserveAspectRatioAttrs<SVGImageElement> , CrossOriginAttrs<SVGImageElement>
Link copied to clipboard
class SVGLinearGradientAttrsScope : SVGGradientAttrsScope<SVGLinearGradientElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SVGPatternAttrsScope : SVGContainerElementAttrsScope<SVGPatternElement> , CoordinateAttrs<SVGPatternElement> , LengthAttrs<SVGPatternElement> , ViewBoxAttrs<SVGPatternElement>
Link copied to clipboard
Link copied to clipboard
class SVGPolygonAttrsScope : SVGGraphicalElementAttrsScope<SVGPolygonElement> , PointsAttrs<SVGPolygonElement>
Link copied to clipboard
class SVGPolylineAttrsScope : SVGGraphicalElementAttrsScope<SVGPolylineElement> , PointsAttrs<SVGPolylineElement>
Link copied to clipboard
Link copied to clipboard
class SVGRadialGradientAttrsScope : SVGGradientAttrsScope<SVGRadialGradientElement>
Link copied to clipboard
class SVGRectAttrsScope : SVGGraphicalElementAttrsScope<SVGRectElement> , CoordinateAttrs<SVGRectElement> , LengthAttrs<SVGRectElement>
Link copied to clipboard
Link copied to clipboard
class SVGStopAttrsScope : SVGElementAttrsScope<SVGStopElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SVGSvgAttrsScope : SVGContainerElementAttrsScope<SVGSVGElement> , CoordinateAttrs<SVGSVGElement> , LengthAttrs<SVGSVGElement> , ViewBoxAttrs<SVGSVGElement>
Link copied to clipboard
class SVGSymbolAttrsScope : SVGContainerElementAttrsScope<SVGSymbolElement> , CoordinateAttrs<SVGSymbolElement> , LengthAttrs<SVGSymbolElement> , ViewBoxAttrs<SVGSymbolElement>
Link copied to clipboard
class SVGTextAttrsScope : SVGGraphicalElementAttrsScope<SVGTextElement> , CoordinateAttrs<SVGTextElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SVGUseAttrsScope : SVGGraphicalElementAttrsScope<SVGUseElement> , CoordinateAttrs<SVGUseElement> , LengthAttrs<SVGUseElement>
Link copied to clipboard
class ViewBox(val x: Int, val y: Int, val width: Int, val height: Int)

Parameters that can be used to set the viewBox attribute of an SVG.

Functions

Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Blend(attrs: SVGFEBlendAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Circle(attrs: SVGCircleAttrsScope.() -> Unit)

Type-safe API for creating an SVGCircleElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.ColorMatrix(attrs: SVGFEColorMatrixAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.ComponentTransfer(attrs: SVGFEComponentTransferAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGFEComponentTransferElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Composite(attrs: SVGFECompositeAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.ConvolveMatrix(attrs: SVGFEConvolveMatrixAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Defs(attrs: SVGDefsAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGDefsElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.DiffuseLighting(attrs: SVGFEDiffuseLightingAttrsScope.() -> Unit, content: ContentBuilder<SVGFEDiffuseLightingElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.DisplacementMap(attrs: SVGFEDisplacementMapAttrsScope.() -> Unit)
Link copied to clipboard
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.DropShadow(attrs: SVGFEDropShadowAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Ellipse(attrs: SVGEllipseAttrsScope.() -> Unit)

Type-safe API for creating an SVGEllipseElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGDefsElement>.Filter(id: SvgId, attrs: SVGFilterAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGFilterElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Flood(attrs: SVGFEFloodAttrsScope.() -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.GaussianBlur(attrs: SVGFEGaussianBlurAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Group(attrs: SVGGroupAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGGElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Image(attrs: SVGFEImageAttrsScope.() -> Unit)

@Composable
fun ElementScope<SVGElement>.Image(attrs: SVGImageAttrsScope.() -> Unit)

Type-safe API for creating an SVGImageElement.

Link copied to clipboard

A convenience function to set all k values at once

Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Line(attrs: SVGLineAttrsScope.() -> Unit)

Type-safe API for creating an SVGLineElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGDefsElement>.LinearGradient(id: SvgId, attrs: SVGLinearGradientAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGLinearGradientElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Merge(attrs: SVGFEMergeAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGFEMergeElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFEMergeElement>.MergeNode(attrs: SVGFEMergeNodeAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Morphology(attrs: SVGFEMorphologyAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Offset(attrs: SVGFEOffsetAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Path(attrs: SVGPathAttrsScope.() -> Unit)

Type-safe API for creating an SVGPathElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGDefsElement>.Pattern(id: SvgId, attrs: SVGPatternAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGPatternElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFEDiffuseLightingElement>.PointLight(attrs: SVGFEPointLightAttrsScope.() -> Unit)
@Composable
fun ElementScope<SVGFESpecularLightingElement>.PointLight(attrs: SVGFEPointLightAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Polygon(attrs: SVGPolygonAttrsScope.() -> Unit)

Type-safe API for creating an SVGPolygonElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Polyline(attrs: SVGPolylineAttrsScope.() -> Unit)

Type-safe API for creating an SVGPolylineElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGDefsElement>.RadialGradient(id: SvgId, attrs: SVGRadialGradientAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGRadialGradientElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Rect(attrs: SVGRectAttrsScope.() -> Unit)

Type-safe API for creating an SVGRectElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.SpecularLighting(attrs: SVGFESpecularLightingAttrsScope.() -> Unit, content: ContentBuilder<SVGFESpecularLightingElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGFEDiffuseLightingElement>.SpotLight(attrs: SVGFESpotLightAttrsScope.() -> Unit)
@Composable
fun ElementScope<SVGFESpecularLightingElement>.SpotLight(attrs: SVGFESpotLightAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGGradientElement>.Stop(attrs: SVGStopAttrsScope.() -> Unit)
@Composable
fun ElementScope<SVGGradientElement>.Stop(offset: CSSPercentageValue? = null, stopColor: CSSColorValue? = null, stopOpacity: Number? = null)
Link copied to clipboard
@Composable
fun Svg(attrs: SVGSvgAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGSVGElement>)

A composable for creating an SVG element.

Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Symbol(id: SvgId, attrs: SVGSymbolAttrsScope.() -> Unit? = null, content: ContentBuilder<SVGSymbolElement>)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Text(text: String, attrs: SVGTextAttrsScope.() -> Unit)

Type-safe API for creating an SVGTextElement.

Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Tile(attrs: SVGFETileAttrsScope.() -> Unit? = null)
Link copied to clipboard
@Composable
fun ElementScope<SVGFilterElement>.Turbulence(attrs: SVGFETurbulenceAttrsScope.() -> Unit)
Link copied to clipboard
@Composable
fun ElementScope<SVGElement>.Use(href: String? = null, attrs: SVGUseAttrsScope.() -> Unit)