class type configs =Inheritsobject
..end
method draggable : bool Js.t Js.prop
True to make the sprite draggable.
method fill : Js.js_string Js.t Js.prop
The fill color.
method font : Js.js_string Js.t Js.prop
Used with text type sprites. The full font description. Uses the same syntax as the CSS font parameter
method group : 'a. 'a Js.t Js.prop
The group that this sprite belongs to, or an array of groups. Only relevant when added to a Surface.
method height : Js.number Js.t Js.prop
The height of the rect or image sprite.
method opacity : Js.number Js.t Js.prop
The opacity of the sprite. A number between 0 and 1.
method path : Js.js_string Js.t Js.prop
The path of the path sprite written in SVG-like path syntax.
method radius : Js.number Js.t Js.prop
The radius of the circle sprite. Or in case of rect sprite, the border radius.
method radiusX : Js.number Js.t Js.prop
The radius of the ellipse sprite along x-axis.
method radiusY : Js.number Js.t Js.prop
The radius of the ellipse sprite along y-axis.
method src : Js.js_string Js.t Js.prop
Path to the image to show in image sprites.
method stroke : Js.js_string Js.t Js.prop
The stroke color.
method stroke_width : Js.number Js.t Js.prop
The width of the stroke.
Note that this attribute needs to be quoted when used. Like so:
"stroke-width": 12,
method text : Js.js_string Js.t Js.prop
The actual text to render in text sprites.
method _type : Js.js_string Js.t Js.prop
The type of the sprite. Possible options are 'circle', 'ellipse', 'path', 'rect', 'text', 'image'.
See Ext.draw.Sprite class documentation for examples of all types.
method width : Js.number Js.t Js.prop
The width of the rect or image sprite.
method x : Js.number Js.t Js.prop
Sprite position along the x-axis.
method y : Js.number Js.t Js.prop
Sprite position along the y-axis.