MarkerState
Type module
Sources
Items from MarkerState can be imported/included and used via following ways.
/** * Import via: MarkerState.ts * Access items like: $markerstate.myVariable */import * as $markerstate from "@amcharts/amcharts5/MarkerState";Variables
MarkerState does not have any variables.
Functions
arrowType(start:AnnotationCap|undefined,
end:AnnotationCap|undefined)Returns
stringbox(bounds:IBounds)Returns { height:
number, left:any, top:any, width:number}color(input:number|string)Returns
ColorReturns a new
Colorfrom a hex number, or a CSS hex,rgb()orrgba()string (color names such as"red"are not accepted):"#f00""#ff0000""rgb(255, 0, 0)""rgba(255, 0, 0, 1)"0xff0000
dash(value:any)Returns
Array|undefineddashString(value:Array|undefined)Returns
stringfitFontSize(text:string,
width:number,
height:number,
padding:number)Returns
numberfontSize(value:any)Returns
number|undefinedfreehandImage(points:Array,
bounds:IBounds,
stroke:string,
strokeWidth:number,
dashArray:Array|undefined)Returns
string