Welcome Guest (Log in)

StarStarStarStarStar
SVG (6) |
General
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • StarStarStarStarStar
  • Snippet
  • Times
Ajax Loader
Tags
Expander triangle
    User Comments
    Expander triangle
    User thumbnail
    Max V
    StarStarStarStarStar
    Sep 29, 2016
    Hi, why did you create svgText and pathRotate properties? It should be more standard using text and angle properties as name identifiers.
    User thumbnail
    Hermann Hoch
    StarStarStarStarStar
    Sep 30, 2016
    Hi, the properties text and angle are usually properties of controls (here: the widget). They are not set and still available for extended versions of the widget. So such a naming could be misleading.
    = svgText is not a property of the widget itself but a property of the display path of the widget (the input text). In LCB terms: Usual text could still be drawn on the canvas, only the input for the textPath is set.
    = pathRotate is not a widget property but a property of the path. In LCB terms: Not the canvas is rotated but the textPath only.
    I used the naming pathRotate, although pathAngle is now a synonym for that, to indicate that this is independent (applied additively) of pathAngleX and pathAngleY.