A
Adam Wawrzyniak
Hi,
this is my problem:
-------------------
public class Rectangle : Shape
{}
....
Shape shape;
shape = graph.AddShape(uid, pointXY);
----------------------------
AddShape returns a Shape object but in fact that is a Rectangle object, how
do I project it to this class in order to use Rectangles methods and
variables?
I got stuck; thanks for help
Adam Wawrzyniak
this is my problem:
-------------------
public class Rectangle : Shape
{}
....
Shape shape;
shape = graph.AddShape(uid, pointXY);
----------------------------
AddShape returns a Shape object but in fact that is a Rectangle object, how
do I project it to this class in order to use Rectangles methods and
variables?
I got stuck; thanks for help
Adam Wawrzyniak