Sprite

Type module

Sources

Items from Sprite can be imported/included and used via following ways.

/**
 * --------------------------------------------------------
 * Import via: Sprite.ts
 * Access items like: $sprite.myVariable
 *                    $sprite.myFunction()
 * --------------------------------------------------------
 */
import * as $sprite from "@amcharts/amcharts4/Sprite";

Variables

visualProperties
#

Type "y" | "dx" | "dy" | "fill" | "focusable" | "height" | "id" | "opacity" | "role" | "scale" | "stroke" | "tabindex" | "width" | "x" | "hidden" | "disabled" | "path" | "rotation" | "pixelPerfect" | "marginLeft" | "marginRight" | "marginTop" | "marginBottom" | "fillOpacity" | "strokeOpacity" | "strokeWidth" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "shapeRendering" | "draggable" | "inert" | "resizable" | "swipeable" | "trackable" | "hoverable" | "clickable" | "togglable" | "wheelable" | "contextMenuDisabled" | "visible" | "tooltipText" | "tooltipHTML" | "tooltipX" | "tooltipY" | "alwaysShowTooltip" | "tooltipPosition" | "showTooltipOn" | "interactionsEnabled" | "horizontalCenter" | "verticalCenter" | "align" | "valign" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingBottom" | "minX" | "minY" | "maxX" | "maxY" | "readerDescribedBy" | "readerLabelledBy" | "readerLive" | "readerControls" | "readerChecked" | "readerHidden" | "readerDescription" | "readerTitle" | "readerOrientation" | "readerValueNow" | "readerValueText" | "nonScaling" | "nonScalingStroke" | "zIndex" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "fillModifier" | "strokeModifier" | "hoverOnFocus" | "urlTarget" | "url" | "showOnInit" | "isActive" | "isHover" | "userClassName"

Default ["fill",
"fillOpacity",
"stroke",
"strokeOpacity",
"strokeWidth",
"strokeDasharray",
"strokeDashoffset",
"strokeLinecap",
"strokeLinejoin"]

Defines list ofvisual properties

Functions

Sprite does not have any functions.