What features should we add to Corona?

Anchors support for masks.

Display objects have properties like .maskX, .maskY, .maskScaleX, .maskScaleY and .maskRotation.

And currently masks are center positioned. However sometimes we really need support for anchors as well: .maskAnchorX, .maskAnchorY.

Moreover it would be much more elegant if mask properties were a subtable of a display object.

image.mask.x = 0
image.mask.anchorX = 1
image.mask.scaleX or xScale = 2

See my pro tip on dynamic masks where it would be useful
http://spiralcodestudio.com/corona-sdk-pro-tip-of-the-day-35/

23 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Lerg shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Albert Pucciani commented  ·   ·  Flag as inappropriate

        I second this idea. It would also be nice if we had access to the RectPath similar to display.newImageRect() so we could deform the mask as well.

      Feedback and Knowledge Base