项目初始化
This commit is contained in:
30
uni_modules/c-svga/node_modules/svgaplayer-weapp/src/rect_path.ts
generated
vendored
Normal file
30
uni_modules/c-svga/node_modules/svgaplayer-weapp/src/rect_path.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { BezierPath } from "./bezier_path";
|
||||
|
||||
export class RectPath extends BezierPath {
|
||||
_x;
|
||||
_y;
|
||||
_width;
|
||||
_height;
|
||||
_cornerRadius;
|
||||
_transform;
|
||||
_styles;
|
||||
|
||||
constructor(
|
||||
x: number,
|
||||
y: number,
|
||||
width: number,
|
||||
height: number,
|
||||
cornerRadius: number,
|
||||
transform: any,
|
||||
styles: any
|
||||
) {
|
||||
super("", transform, styles);
|
||||
this._x = x;
|
||||
this._y = y;
|
||||
this._width = width;
|
||||
this._height = height;
|
||||
this._cornerRadius = cornerRadius;
|
||||
this._transform = transform;
|
||||
this._styles = styles;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user