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

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

Defines list ofvisual properties

Functions

Sprite does not have any functions.