Release package version 0.0.4
All checks were successful
CI / build (push) Successful in 31s

Change fill/stroke
This commit is contained in:
Andrey Kernichniy 2026-03-14 17:33:21 +07:00
parent 5d1acba69c
commit 5f2ce822fc
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
import { IColor } from "./color"; import { IRgbColor } from "./color";
export type FillType = "solid" | "texture"; export type FillType = "solid" | "texture";
export type GradientType = "liner" | "radial" | "conic"; export type GradientType = "liner" | "radial" | "conic";
@ -9,7 +9,7 @@ export interface IBaseFill {
export interface ISolidFill extends IBaseFill { export interface ISolidFill extends IBaseFill {
type: "solid"; type: "solid";
color: IColor; color: IRgbColor;
} }
export interface ITextureFill extends IBaseFill { export interface ITextureFill extends IBaseFill {

View file

@ -1,7 +1,7 @@
import { IColor } from "./color"; import { IRgbColor } from "./color";
export interface IStroke { export interface IStroke {
width: number; width: number;
color: IColor; color: IRgbColor;
dash: number[]; dash: number[];
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "@gxc-solutions/model-base", "name": "@gxc-solutions/model-base",
"version": "0.0.3", "version": "0.0.4",
"main": "index.js", "main": "index.js",
"author": "GXC Solutions", "author": "GXC Solutions",
"publishConfig": { "publishConfig": {