Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some features are not supported #23

Open
DleanJeans opened this issue Aug 15, 2015 · 1 comment
Open

Some features are not supported #23

DleanJeans opened this issue Aug 15, 2015 · 1 comment

Comments

@DleanJeans
Copy link

Some features are not supported like text, gradient, rotation

@DleanJeans DleanJeans changed the title Text rendering in HaxeFlixel doesn't work Some features are not supported Oct 10, 2015
@ashes999
Copy link
Member

+1 for gradients

Here's a sample SVG that renders a square with a red-to-blue gradient:

<svg width="64" height="64" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
 <metadata id="metadata8">image/svg+xml</metadata>
 <defs>
  <linearGradient id="svg_1" x1="0.5" y1="1" x2="0.5">
   <stop stop-color="#ff0000" offset="0"/>
   <stop stop-color="#0000ff" offset="1"/>
  </linearGradient>
 </defs>
 <g>
  <title>Layer 1</title>
  <rect fill="url(#svg_1)" stroke="#000000" stroke-width="0" stroke-dasharray="null" stroke-linejoin="null" stroke-linecap="null" x="8" y="8" width="48" height="48" id="svg_2"/>
 </g>
</svg>

It appears as a single colour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants