Package-level declarations
Types
Represents the <circle> element.
Builder for SVG circle (<circle>) element. This class provides methods to set attributes specific to the <circle> element, such as its center coordinates and radius.
Represents the <clipPath> element.
Builder for SVG <clipPath> element. This class provides methods to set attributes and add child elements specific to the <clipPath> element.
Represents the <defs> element for definitions.
Builder for SVG <defs> element. This class provides methods to add child elements such as <linearGradient>, <radialGradient>, <clipPath>, <mask>, and <symbol>.
Represents the <ellipse> element.
Builder for SVG ellipse (<ellipse>) element. This class provides methods to set attributes specific to the <ellipse> element, such as its center coordinates and radii.
Represents the <g> (group) element.
Builder for SVG group (<g>) element. This class provides methods to add child elements such as <rect>, <circle>, <ellipse>, <line>, <polyline>, <polygon>, <path>, <text>, nested <g>, and <use> elements to the group.
Enum representing the gradient units for an SVG gradient element.
Represents the <line> element.
Represents the <linearGradient> element.
Builder for SVG <linearGradient> element. This class provides methods to set attributes specific to the <linearGradient> element, such as start and end points, gradient units, transformations, and spread methods.
Builder for SVG line (<line>) element. This class provides methods to set attributes specific to the <line> element, such as the start and end points.
Represents the <mask> element.
Builder for SVG <mask> element. This class provides methods to set attributes and add child elements specific to the <mask> element.
Represents the <path> element.
Builder for SVG path (<path>) element with path data DSL. This class provides methods to construct complex path data using a fluent API.
Represents the <polygon> element.
Builder for SVG polygon (<polygon>) element. This class provides methods to set the points attribute, which defines the list of points that make up the polygon.
Represents the <polyline> element.
Builder for SVG polyline (<polyline>) element. This class provides methods to set the points attribute, which defines the list of points that make up the polyline.
Represents the <radialGradient> element.
Builder for SVG <radialGradient> element. This class provides methods to set attributes specific to the <radialGradient> element, such as center coordinates, radii, gradient units, transformations, and spread methods.
Represents the <rect> (rectangle) element.
Builder for SVG rectangle (<rect>) element. This class provides methods to set attributes specific to the <rect> element, such as position, size, and corner radii.
Represents the <stop> element for gradients.
Builder for SVG <stop> element. This class provides methods to set attributes specific to the <stop> element, such as offset, stop color, and stop opacity.
Represents the root <svg> element.
Builder for SVG root element. This class provides methods to define attributes and child elements for the root <svg> element in an SVG document.
Base interface for all SVG elements. Represents a generic SVG element with attributes and child elements.
Abstract base class for building SVG elements. Provides methods to set attributes and common properties for SVG elements.
Represents the <symbol> element.
Builder for SVG <symbol> element. This class provides methods to set attributes specific to the <symbol> element, such as viewBox and preserveAspectRatio, and to add child elements like <rect>, <circle>, <path>, and <g>.
Represents the <text> element.
Builder for SVG text (<text>) element. This class provides methods to set attributes specific to the <text> element, such as position, font properties, and content.
Represents the <tspan> element.
Builder for SVG <tspan> element. This class provides methods to set attributes specific to the <tspan> element, such as position and content.
Represents the <use> element.
Builder for SVG <use> element. This class provides methods to set attributes specific to the <use> element, such as href, xlink:href, position, and size.
Functions
Creates a clipped shape
Creates a path with curves
Creates a colorful rectangle with gradient
Creates a grouped composition
Creates a radial gradient circle
Creates a simple circle
Creates a smiley face
Creates a star shape using path
Creates text with styling
Composable function to render raw SVG string in Kobweb using a wrapper div
Creates an SVG element using a DSL-style builder.
Composable function to render SVG content This is a common interface - platform-specific implementations handle actual rendering
Composable function to create and render SVG using DSL
Composable function to create and render SVG using DSL in Kobweb This is the recommended way to use Doppelganger with Kobweb
Composable function to render SVG content in Kobweb applications This provides Kobweb-style API using Modifier
Converts an SVG element to its string representation.
Combines multiple transform strings into a single transform string.