Skip to content

Releases: YegorDB/TDG

Creators and managers

08 May 18:45
Compare
Choose a tag to compare

Creators

Added objects to to easily create screen, layers and items
Removed layer methods to create items
Removed screen methods to create layers

Managers

Added classes to manage inner items

  • CanvasItemsManager
  • SVGItemsManager

Items

Added Items classes

Canvas

  • CanvasText

SVG

  • SVGGroup
  • SVGText
  • SVGAnimation
  • SVGAnimate
  • SVGSet
  • SVGAnimateMotion
  • SVGAnimateTransform

Base items classes

01 Sep 20:13
Compare
Choose a tag to compare

Added Items classes

Added items classes draw method is based on path commands classes

Canvas

  • CanvasCircle
  • CanvasEllipse
  • CanvasItem
  • CanvasPath
  • CanvasPolygon
  • CanvasPolyline

SVG

  • SVGCircle
  • SVGEllipse
  • SVGPath
  • SVGPolygon
  • SVGPolyline

Path commands classes

SVG path d property commands

  • CircleCommands
  • EllipseCommands
  • PathCommands
  • PointsCommands

Added layers classes

  • CanvasLayerWithBGFiller
  • CanvasLayerWithBGImage

Other changes

  • Added layer methods to easily create items
  • Added screen methods to easily create layers

Initial

12 Sep 23:53
Compare
Choose a tag to compare

Initial

Items

SVG items handler features

  • Functional to create SVG item with particular attributes.
  • Functional to get/set SVG item attributes.

Layers

Base layers handler features

  • Getter returns whether layer is showed or not.
  • Getter returns layer z-index.
  • Setter sets layer z-index value.
  • Functional to reset layer z-index to initial value.
  • Functional to set layer dimentions.
  • Functional to hide/show layer.

Canvas layers handler features

  • Access to layers canvas 2D context.

SVG layers handler features

  • Functional to add/remove SVG items to/from layer.

Screen

Screen handler features

  • Functional to create screen based on particular DOM element with optional dimensions parameter.
  • Functional to add layers to screen.
  • Functional to activate/deactivate layers.