Skip to content

Instantly share code, notes, and snippets.

@s10wen
Created April 2, 2019 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s10wen/8d78fdb30ceb7abe7aa19d28d41620ca to your computer and use it in GitHub Desktop.
Save s10wen/8d78fdb30ceb7abe7aa19d28d41620ca to your computer and use it in GitHub Desktop.
.mxml example, required as SVG
<s:Rect width="100%" height="100%" id="box" >
<s:fill >
<s:SolidColor alpha="0" />
</s:fill>
</s:Rect>
<s:Group includeIn="disabled">
<s:Group >
<s:Ellipse y="-0.000976562" width="20.1895" height="20.1895" >
<s:fill>
<s:SolidColor color="#F2F2F2"/>
</s:fill>
</s:Ellipse>
<s:Path x="4.81909" y="4.79326" winding="nonZero" data="M4.1936 10.6003 4.1936 10.6003C3.72778 10.6003 3.29224 10.3688 3.03149 9.98213L0.239502 5.83955C-0.193115 5.19795 -0.0231934 4.32685 0.618408 3.89424 1.26099 3.4626 2.1311 3.63105 2.56372 4.27314L4.1936 6.69111 8.28931 0.618359C8.72192 -0.023243
9.59204 -0.193653 10.2346 0.239941 10.8772 0.672558 11.0461 1.54414 10.6135 2.18574L5.35571 9.98213C5.09497 10.3688 4.65942 10.6003 4.1936 10.6003Z">
<s:fill>
<s:SolidColor color="#FFFFFF" />
</s:fill>
</s:Path>
</s:Group>
</s:Group>
<s:Group includeIn="down" >
<s:Group >
<s:Ellipse y="-0.000976562" width="20.1895" height="20.1895" >
<s:fill>
<s:SolidColor color="{getStyle('color')}" />
</s:fill>
</s:Ellipse>
<s:Path x="4.81921" y="4.79309" winding="nonZero" data="M4.19348 10.6005 4.19348 10.6005C3.72766 10.6005 3.29211 10.369 3.03137 9.9823L0.23938 5.83972C-0.193237 5.19812 -0.0233154 4.32703 0.618286 3.89441 1.26086 3.46228 2.13098 3.63123 2.5636 4.27332L4.19348 6.69128 8.28918 0.61853C8.7218 -0.0235596
9.59192 -0.193481 10.2345 0.240112 10.8771 0.672729 11.046 1.54431 10.6134 2.18591L5.35559 9.9823C5.09485 10.369 4.6593 10.6005 4.19348 10.6005Z">
<s:fill>
<s:SolidColor color="#FFFFFF"/>
</s:fill>
</s:Path>
</s:Group>
</s:Group>
<s:Group includeIn="over" >
<s:Group >
<s:Ellipse y="-0.000976562" width="20.1895" height="20.1895" >
<s:fill>
<s:SolidColor color="{getStyle('color')}"/>
</s:fill>
</s:Ellipse>
<s:Path x="4.81921" y="4.7928" winding="nonZero" data="M4.19348 10.6007 4.19348 10.6007C3.72766 10.6007 3.29211 10.3693 3.03137 9.98259L0.23938 5.84001C-0.193237 5.19841 -0.0233154 4.32731 0.618286 3.8947 1.26086 3.46257 2.13098 3.63151 2.5636 4.2736L4.19348 6.69157 8.28918 0.618816C8.7218 -0.0232735
9.59192 -0.193684 10.2345 0.240398 10.8771 0.673016 11.046 1.5446 10.6134 2.1862L5.35559 9.98259C5.09485 10.3693 4.6593 10.6007 4.19348 10.6007Z">
<s:fill>
<s:SolidColor color="#FFFFFF"/>
</s:fill>
</s:Path>
</s:Group>
</s:Group>
<s:Group includeIn="up" >
<s:Group >
<s:Ellipse y="-0.000976562" width="20.1895" height="20.1895" >
<s:fill>
<s:SolidColor color="{getStyle('color')}"/>
</s:fill>
</s:Ellipse>
<s:Path x="4.81921" y="4.7928" winding="nonZero" data="M4.19348 10.6007 4.19348 10.6007C3.72766 10.6007 3.29211 10.3693 3.03137 9.98259L0.23938 5.84001C-0.193237 5.19841 -0.0233154 4.32731 0.618286 3.8947 1.26086 3.46257 2.13098 3.63151 2.5636 4.2736L4.19348 6.69157 8.28918 0.618816C8.7218 -0.0232735
9.59192 -0.193684 10.2345 0.240398 10.8771 0.673016 11.046 1.5446 10.6134 2.1862L5.35559 9.98259C5.09485 10.3693 4.6593 10.6007 4.19348 10.6007Z">
<s:fill>
<s:SolidColor color="#FFFFFF"/>
</s:fill>
</s:Path>
</s:Group>
</s:Group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment