Drawing lines


Creating lines with ceramic.Line.

var line = new Line();
line.color = Color.WHITE;
line.thickness = 4;
line.points = [
    300, 50,
    600, 200
];

Next example ➔ 2D Mesh