Jump to content

lineBitmapStyle, lineGradientStyle, beginGradientFill, beginBitmapFill


FlorianLudwig
 Share

Recommended Posts

Hi,

 

there is some missing functionality in PIXI.Graphics that I would like to add:

  • lineBitmapStyle(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true)
  • lineGradientStyle(type:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null)
  • beginGradientFill(type:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null)
  • beginBitmapFill(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true)

 

as present in the flash api.

 

First two patches:

 

Would there be interest to merged these (when done) into PIXI?

 

Feedback on API and implementation are welcome!

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...