Skip to content

Release v0.5.129

Pre-release
Pre-release

Choose a tag to compare

@Justin-Byrne Justin-Byrne released this 07 Aug 23:23
· 13 commits to main since this release
31ca10d

[0.5.129] - 2024-08-07

Added

  • canvasLab
    • ☀️ Circle class, added ability to create an ellipse if the radius contains a Point value, to access the ellipse X & Y coordinates
    • ☀️ Rectangle class, added _round property, to added rounding properties for rounded rectangles
    • 🌼 cImage class, to create Image objects
    • ☀️ Fill class,
      • Added pattern property, to set the ctx.fillStyle ( ) pattern property
      • Added repetition property, to set each pattern's repetition property
        • "repeat" (both directions)
        • "repeat-x" (horizontal only)
        • "repeat-y" (vertical only)
        • "no-repeat" (neither direction)
    • ☀️ Validation module, added isPointNAspect ( ) to returns whether the passed value is a Point & Aspect

Changed

  • 🌕 Rectangle class,
    • Supplant _setAnchorPoint ( ) with UTILITIES.set.anchorPoint ( )
    • Supplant center property with PROPERTY_BLOCKS.discrete.center ( )
    • Supplant area property with PROPERTY_BLOCKS.discrete.area ( )
    • Supplant perimeter property with PROPERTY_BLOCKS.discrete.perimeter ( )
  • 🌕 SacredCircles class, added round property for Rectangle class
  • 🌕 Anchor class, supplant point property with PROPERTY_BLOCKS.discrete.point ( )

Refactored

  • devSuite

    • 🌗 To include CImage type
      • Page._setPropertiesBy ( )
      • Template._getImages ( )
      • Template._modifyCode ( )
      • Tool.isCanvasLabObject ( )
  • canvasLab

    • 🌗 Rectangle class,
      • Modified draw ( ) to include rounding property value(s)
      • Modified _drawBorder ( ) to include rounding property value(s)
    • 🌗 Options class, anchor & axis properties

Fixed

  • 🐉 Circle class, fixed _setAnchorPoint ( ) where this.anchor.type was used in switch instead of this.anchor.align