realbasic-betas.mbox
[Top] [All Lists]

FigureShapes

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: FigureShapes
From: Jim Miller <James dot T dot Miller at jhuapl dot edu>
Date: Sat, 29 Jun 2002 14:01:08 -0400

Tried to use the CurveShape example in the Language reference to draw with figureshape (the language reference doesn't have an example for figureshape). Didn't work. No drawing. Got an example of how to use figureshapes??

Also RB help says figureshape is a "collection of curveshpaes with the end of one curve automatically joined to the starting point of the next". If so, why do I have to specify a start and end point for each line or curve I add to a figure shape?? (I am assuming I add these to a figure shape) Shouldn't the start point be specified by the previous curve (or line), although not clear what to do for the very first point if only have to specify an end point, as I am implying. Suppose I want a closed figure? Guess I have to make the last end point correspond to the first start point.... however that gets done.

On curveshape, example specifies x, y, x2, y2 to draw a curve but only shows x2, y2 as properties. I assume x, y are properties of the superclass Object2D. Seems to work that way.
--
Jim


<Prev in Thread] Current Thread [Next in Thread>