@@ -13,7 +13,7 @@ package examples
1313import alecmce.ui.paint.SolidPaint ;
1414
1515/**
16- * UI test verifies MutableVertexOnCircle class
16+ * UI test verifies MutableCircleSector class
1717 *
1818 * (c) 2009 alecmce.com
1919 *
@@ -24,7 +24,8 @@ package examples
2424{
2525private var vertexPaint: SolidPaint;
2626private var circlePaint: SolidPaint;
27- private var rightSectorPaint: SolidPaint; private var leftSectorPaint: SolidPaint;
27+ private var rightSectorPaint: SolidPaint;
28+ private var leftSectorPaint: SolidPaint;
2829
2930private var dragMechanism: DragMechanism;
3031
@@ -47,7 +48,8 @@ package examples
4748{
4849vertexPaint = new SolidPaint(0xFFFF0000 , 0xFF000000 , 2 );
4950circlePaint = new SolidPaint(0x0 , 0xFF000000 , 2 );
50- rightSectorPaint = new SolidPaint(0x66FF0000 , 0xFF , 2 ); leftSectorPaint = new SolidPaint(0x661E90FF , 0xFF , 2 );
51+ rightSectorPaint = new SolidPaint(0x66FF0000 , 0xFF , 2 );
52+ leftSectorPaint = new SolidPaint(0x661E90FF , 0xFF , 2 );
5153
5254dragMechanism = new DragMechanism();
5355
@@ -61,7 +63,8 @@ package examples
6163b . x = 450 ;
6264b . y = 180 ;
6365
64- circle = new MutableCircleWithRadialVertex(_context , a , b ); circleDrawer = new CircleDrawer(_context , circle, circlePaint);
66+ circle = new MutableCircleWithRadialVertex(_context , a , b );
67+ circleDrawer = new CircleDrawer(_context , circle, circlePaint);
6568
6669c = new UIVertexOnCircle(_context , circle, Math . PI * 0.2 , vertexPaint);
6770dragMechanism. apply (c );
@@ -76,7 +79,8 @@ package examples
7679leftSectorDrawer = new CircleSectorDrawer(_context , leftSector, leftSectorPaint);
7780
7881addChild (circleDrawer);
79- addChild (rightSectorDrawer); addChild (leftSectorDrawer);
82+ addChild (rightSectorDrawer);
83+ addChild (leftSectorDrawer);
8084
8185addChild (a );
8286addChild (b );
0 commit comments