Skip to content

Canvallax.Rectangle()

Shaw edited this page Nov 12, 2015 · 2 revisions

Draw a rectangle

Special Properties

In addition to the standard element properties, Canvallax.Rectangle elements also utilize these properties shown with the default properties:

  Canvallax.Circle({
    
    width: 100,
    // (Number)
    // Width of the rectangle.
    
    height: 100,
    // (Number)
    // Height of the rectangle.
    
  });
Clone this wiki locally