Skip to content

Instantly share code, notes, and snippets.

View EktaMehta's full-sized avatar

Ekta Mehta EktaMehta

  • Oceans Technology
  • India
View GitHub Profile
@jpsarda
jpsarda / FDrawingSprite.cs
Last active December 11, 2023 04:17
A class to draw lines with Futile, 2D engine for Unity3D. API inspired from Flash AS3 drawing API. Works with transparent colors. Cap styles : NONE, ROUND, SQUARE, TRIANGLE, ARROW Joint styles : MITER, ROUND, BEVEL Experimental (but working for most usages) support of borders (so far only supported with styles NONE / BEVEL).
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/* Author @jpsarda
* A drawing class.
*
* Examples :
*