Skip to content

v1.0.0

Compare
Choose a tag to compare
@sbrow sbrow released this 23 Jul 17:06
· 40 commits to master since this release

v1.0.0 Release Notes

Features

General

  • Document data now gets stored in a json file - much improved speed over loading everything manually.
  • New functions:
    • Document.Save()
    • DoAction()
    • ApplyDataset()
    • Group.GetLayer(name string)/Group.GetLayers()
    • ArtLayer/LayerSet.SetVisible()

LayerSets

  • now have bounds.
  • Can now retrieve Layers from Groups by name.

TextItem

  • Writable.
  • Formatable.

Colors

  • Can now color layers and apply strokes via Color objects.
  • Support for RGB and Hex formats.
  • Comes with White, Gray, and Black
  • setStroke is skipped when stroke has already been set.

Refresh

  • Added Refresh function to update layers.
  • Refresh() is now more robust - when an error is encountered, the layer is reloaded automatically.

Javascript

  • Added flush function to writing, for faster debugging.
  • Javascript errors are now output to console instead of alerts.
  • Can now save and load from json.

Bug Fixes

  • Layersets now can be moved correctly.
  • Fixed functions that were mode dependant.
  • Fixed getLayerSet.jsx to return set visibility.
  • Fixed a bug in getActiveDoc.jsx