Welcome Guest (Log in)

ImageHandles6_LCS_v108

General
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • Hermann Hoch
  • StarStarStarStarStar
  • Stack
  • 5
  • 148 Times
  • 04 September 2018
imageHandles6_LCS_v108
## v1.0.8 Sep 03, 2018 ... Removed small resizing bug, added flipH/flipV
## v1.0.5 Sep 01, 2018 ... First version on LiveCodeShare (Sample stacks)

ImageHandles6_LCS is a pure LC Script version for LC 6 and later.
For LC 8 or later use (faster) hhImageHandles89B.

ImageHandles is a group of handles that is attachable to any image.
All you have to do (after copying the group to your stack):

send "setTarget imageName" to group "hhPoly"

Base position of the 9 handles: 1: Top, 2: TopMidth,
3: TopRight, 4: MidRight, 5: BotRight, 6: BotMidth,
7: BotLeft, 8: MidLeft, 9: TopLeft

Actions are affine transforms and perspective distortion:
a=Click and drag, b=Shift-Click or RightClick and drag

1: (a) Rotate, (b) Reset shape
2,6: (a) Height, (b) SkewX
4,8: (a) Width, (b) SkewY
3,5,7,9: (a) 4-Point-Distortion
3,5,7,9: (b) ProportionalResize

Rotation is around the shapes's centroid (which can also be shown).

Changing height, width or proportional resizing preserves
the current shape!
Ajax Loader
Tags
Expander triangle
User Comments
Expander triangle