Skip to content

ISpriteProperties

Type interface

Defines properties for Sprite

Sources

ISpriteProperties is an interface: it describes a shape of data and is not imported on its own.

Inheritance

ISpriteProperties does not extend any other symbol.

ISpriteProperties is extended by IPointedShapeProperties, IPolylineProperties, ISpriteAdapters, IRectangleProperties, IContainerProperties, IGridProperties, ITickProperties, IAxisFillProperties, IAxisLineProperties, IRoundedRectangleProperties, ILineProperties, ICircleProperties, ITrapezoidProperties, ITriangleProperties, IPolygonProperties, IImageProperties, IStarProperties, IForceDirectedLinkProperties.

Properties

align

Type Align

alwaysShowTooltip

Type boolean

clickable

Type boolean

contextMenuDisabled

Type boolean

disabled

Type boolean

draggable

Type boolean

dx

Type number

dy

Type number

fill

Type Color | LinearGradient | RadialGradient | Pattern

fillModifier

Type ColorModifier

fillOpacity

Type number

focusable

Type boolean

height

Type number | Percent

hidden

Type boolean

horizontalCenter

Type HorizontalCenter

hoverable

Type boolean

hoverOnFocus

Type boolean

id

Type string

inert

Type boolean

interactionsEnabled

Type boolean

isActive

Type boolean

isHover

Type boolean

marginBottom

Type number

marginLeft

Type number

marginRight

Type number

marginTop

Type number

maxHeight

Type number

maxWidth

Type number

maxX

Type number

maxY

Type number

minHeight

Type number

minWidth

Type number

minX

Type number

minY

Type number

nonScaling

Type boolean

nonScalingStroke

Type boolean

opacity

Type number

paddingBottom

Type number

paddingLeft

Type number

paddingRight

Type number

paddingTop

Type number

path

Type string

pixelPerfect

Type boolean

readerChecked

Type boolean

readerControls

Type string

readerDescribedBy

Type string

readerDescription

Type string

readerHidden

Type boolean

readerLabelledBy

Type string

readerLive

Type AriaLive

readerOrientation

Type string

readerTitle

Type string

readerValueNow

Type string

readerValueText

Type string

resizable

Type boolean

role

Type Roles

rotation

Type number

scale

Type number

shapeRendering

Type ShapeRendering

showOnInit

Type boolean

showTooltipOn

Type "hover" | "hit" | "always"

stroke

Type Color | LinearGradient | RadialGradient | Pattern

strokeDasharray

Type string

strokeDashoffset

Type number

strokeLinecap

Type "butt" | "square" | "round"

strokeLinejoin

Type "miter" | "round" | "bevel"

strokeModifier

Type ColorModifier

strokeOpacity

Type number

strokeWidth

Type number

swipeable

Type boolean

tabindex

Type number

togglable

Type boolean

tooltipHTML

Type string

tooltipPosition

Type "fixed" | "pointer"

tooltipText

Type string

tooltipX

Type number | Percent

tooltipY

Type number | Percent

trackable

Type boolean

url

Type string

urlTarget

Type string

userClassName

Type string

valign

Type VerticalAlign

verticalCenter

Type VerticalCenter

visible

Type boolean

wheelable

Type boolean

width

Type number | Percent

x

Type number | Percent

y

Type number | Percent

zIndex

Type number