Method index

classic Classic list List threaded Threaded
1 message Options
HJH
Reply | Threaded
Open this post in threaded view
|

Method index

HJH
This post was updated on .
https://www.gnu.org/software/dr-geo/doc/en/Index.html#Method-index

Some useful methods to create basic shapes

Set label or name

     aDrGeoItem name: aText

Create a point

    aCanvas point: 1@0.


Create a line segment
   
     lineSegment := c segment:  pointA  to: pointB.


Create a ray #ray:to:

    myRay := c ray: aDrGeoPoint to: anotherDrGeoPoint.