UNPKG
@antv/attr
Version:
beta (0.0.1-beta.3)
latest (0.3.5)
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.1-beta.3
0.0.1-beta.2
0.0.1-beta.1
The Attribute module for G2, F2.
github.com/antvis/attr
antvis/attr
@antv/attr
/
lib
/
attributes
/
shape.d.ts
10 lines
(9 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
AttributeCfg
}
from
'../interface'
;
import
Attribute
from
'./base'
;
export
default
class
Shape
extends
Attribute
{
constructor
(
cfg
:
AttributeCfg
);
/** *
@override
*/
getLinearValue
(
percent
:
number
):
string
; }