generated from gxc-solutions/gxc-template-repo
Change fill/stroke
This commit is contained in:
parent
5d1acba69c
commit
5f2ce822fc
3 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { IColor } from "./color";
|
||||
import { IRgbColor } from "./color";
|
||||
|
||||
export type FillType = "solid" | "texture";
|
||||
export type GradientType = "liner" | "radial" | "conic";
|
||||
|
|
@ -9,7 +9,7 @@ export interface IBaseFill {
|
|||
|
||||
export interface ISolidFill extends IBaseFill {
|
||||
type: "solid";
|
||||
color: IColor;
|
||||
color: IRgbColor;
|
||||
}
|
||||
|
||||
export interface ITextureFill extends IBaseFill {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { IColor } from "./color";
|
||||
import { IRgbColor } from "./color";
|
||||
|
||||
export interface IStroke {
|
||||
width: number;
|
||||
color: IColor;
|
||||
color: IRgbColor;
|
||||
dash: number[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gxc-solutions/model-base",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"main": "index.js",
|
||||
"author": "GXC Solutions",
|
||||
"publishConfig": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue