pure-canvas
Advanced tools
Comparing version 0.6.2 to 0.6.3
import { Point } from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface CircleParameters { | ||
x?: number; | ||
y?: number; | ||
export interface CircleStyle { | ||
radius: number; | ||
@@ -11,2 +9,6 @@ lineWidth?: number; | ||
} | ||
export interface CircleParameters extends CircleStyle { | ||
x?: number; | ||
y?: number; | ||
} | ||
declare class Circle<T> extends NodeFixedBounds<T> { | ||
@@ -13,0 +15,0 @@ private x; |
import { Point } from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface ImageParameters { | ||
x?: number; | ||
y?: number; | ||
export interface ImageStyle { | ||
width: number; | ||
@@ -10,2 +8,6 @@ height: number; | ||
} | ||
export interface ImageParameters extends ImageStyle { | ||
x?: number; | ||
y?: number; | ||
} | ||
declare class Image<T> extends NodeFixedBounds<T> { | ||
@@ -12,0 +14,0 @@ private x; |
import { Point } from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface LineParameters { | ||
export interface LineStyle { | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
lineCap?: string; | ||
} | ||
export interface LineParameters extends LineStyle { | ||
x1: number; | ||
@@ -8,5 +13,2 @@ y1: number; | ||
y2: number; | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
lineCap?: string; | ||
} | ||
@@ -13,0 +15,0 @@ declare class Line<T> extends NodeFixedBounds<T> { |
import Node, { Point } from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface LineStringParameters { | ||
points: Array<Point>; | ||
export interface LineStringStyle { | ||
strokeStyle?: string; | ||
@@ -9,2 +8,5 @@ lineWidth?: number; | ||
} | ||
export interface LineStringParameters extends LineStringStyle { | ||
points: Array<Point>; | ||
} | ||
declare class LineString<T> extends NodeFixedBounds<T> { | ||
@@ -11,0 +13,0 @@ private points; |
import { Point } from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface PolygonParameters { | ||
points: Array<Array<Point>>; | ||
export interface PolygonStyle { | ||
strokeStyle?: string; | ||
@@ -9,2 +8,5 @@ lineWidth?: number; | ||
} | ||
export interface PolygonParameters extends PolygonStyle { | ||
points: Array<Array<Point>>; | ||
} | ||
declare class Polygon<T> extends NodeFixedBounds<T> { | ||
@@ -11,0 +13,0 @@ private points; |
import { Point } from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface RectangleParameters { | ||
export interface RectangleStyle { | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
fillStyle?: string; | ||
} | ||
export interface RectangleParameters extends RectangleStyle { | ||
x1: number; | ||
@@ -8,5 +13,2 @@ y1: number; | ||
y2: number; | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
fillStyle?: string; | ||
} | ||
@@ -13,0 +15,0 @@ declare class Rectangle<T> extends NodeFixedBounds<T> { |
import { Point } from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface TextParameters { | ||
x?: number; | ||
y?: number; | ||
export interface TextStyle { | ||
fillStyle?: string; | ||
@@ -16,2 +14,6 @@ fontStyle?: string; | ||
} | ||
export interface TextParameters extends TextStyle { | ||
x?: number; | ||
y?: number; | ||
} | ||
declare class Text<T> extends NodeFixedBounds<T> { | ||
@@ -18,0 +20,0 @@ private x; |
{ | ||
"name": "pure-canvas", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "TODO", | ||
@@ -5,0 +5,0 @@ "main": "lib/Stage.js", |
import Node, {Bounds, Point} from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface CircleParameters { | ||
x?: number; | ||
y?: number; | ||
export interface CircleStyle { | ||
radius: number; | ||
@@ -13,2 +11,7 @@ lineWidth?: number; | ||
export interface CircleParameters extends CircleStyle { | ||
x?: number; | ||
y?: number; | ||
} | ||
class Circle<T> extends NodeFixedBounds<T> { | ||
@@ -15,0 +18,0 @@ private x: number; |
@@ -5,5 +5,3 @@ import Node, {Point} from './Node'; | ||
export interface ImageParameters { | ||
x?: number; | ||
y?: number; | ||
export interface ImageStyle { | ||
width: number; | ||
@@ -14,2 +12,7 @@ height: number; | ||
export interface ImageParameters extends ImageStyle { | ||
x?: number; | ||
y?: number; | ||
} | ||
class Image<T> extends NodeFixedBounds<T> { | ||
@@ -16,0 +19,0 @@ private x: number; |
import Node, {Bounds, Point} from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface LineParameters { | ||
export interface LineStyle { | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
lineCap?: string; | ||
} | ||
export interface LineParameters extends LineStyle { | ||
x1: number; | ||
@@ -9,5 +15,2 @@ y1: number; | ||
y2: number; | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
lineCap?: string; | ||
} | ||
@@ -14,0 +17,0 @@ |
import Node, {Bounds, Point} from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface LineStringParameters { | ||
points: Array<Point>; | ||
export interface LineStringStyle { | ||
strokeStyle?: string; | ||
@@ -11,2 +10,6 @@ lineWidth?: number; | ||
export interface LineStringParameters extends LineStringStyle { | ||
points: Array<Point>; | ||
} | ||
class LineString<T> extends NodeFixedBounds<T> { | ||
@@ -13,0 +16,0 @@ private points: Array<Point>; |
@@ -6,4 +6,3 @@ import Node, {Bounds, Point} from './Node'; | ||
export interface PolygonParameters { | ||
points: Array<Array<Point>>; | ||
export interface PolygonStyle { | ||
strokeStyle?: string; | ||
@@ -14,2 +13,6 @@ lineWidth?: number; | ||
export interface PolygonParameters extends PolygonStyle { | ||
points: Array<Array<Point>>; | ||
} | ||
class Polygon<T> extends NodeFixedBounds<T> { | ||
@@ -16,0 +19,0 @@ private points: Array<Array<Point>>; |
import Node, {Bounds, Point} from './Node'; | ||
import NodeFixedBounds from './NodeFixedBounds'; | ||
export interface RectangleParameters { | ||
export interface RectangleStyle { | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
fillStyle?: string; | ||
} | ||
export interface RectangleParameters extends RectangleStyle { | ||
x1: number; | ||
@@ -9,5 +15,2 @@ y1: number; | ||
y2: number; | ||
strokeStyle?: string; | ||
lineWidth?: number; | ||
fillStyle?: string; | ||
} | ||
@@ -14,0 +17,0 @@ |
@@ -36,5 +36,3 @@ import Node, {Bounds, Point} from './Node'; | ||
export interface TextParameters { | ||
x?: number; | ||
y?: number; | ||
export interface TextStyle { | ||
fillStyle?: string; | ||
@@ -51,2 +49,7 @@ fontStyle?: string; | ||
export interface TextParameters extends TextStyle { | ||
x?: number; | ||
y?: number; | ||
} | ||
class Text<T> extends NodeFixedBounds<T> { | ||
@@ -53,0 +56,0 @@ private x: number; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
237047
3136