diff --git a/src/js/ui/circle.js b/src/js/ui/circle.js index 391a6964..00fc2307 100644 --- a/src/js/ui/circle.js +++ b/src/js/ui/circle.js @@ -1,7 +1,12 @@ var util2 = require('util2'); var myutil = require('myutil'); +var Propable = require('ui/propable'); var StageElement = require('ui/element'); +var accessorProps = [ + 'radius', +]; + var defaults = { backgroundColor: 'white', borderColor: 'clear', @@ -15,4 +20,6 @@ var Circle = function(elementDef) { util2.inherit(Circle, StageElement); +Propable.makeAccessors(accessorProps, Circle.prototype); + module.exports = Circle;