realbasic-nug
[Top] [All Lists]

Left, top vs X, Y in graphics

To: realbasic-nug@lists.realsoftware.com
Subject: Left, top vs X, Y in graphics
From: Jack Citron <jaxitron@aceweb.com>
Date: Fri, 30 Jan 2009 14:57:27 -0800
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <mailman.1612.1233345255.8127.realbasic-nug@lists.realsoftware.com>
References: <mailman.1612.1233345255.8127.realbasic-nug@lists.realsoftware.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Under "Object2D Class" in the LR, I see: The base class of any object that can be drawn in a vector graphics environment. Further down, it describes X and Y as center or anchor points. But in the following, left and top can,t be used.

dim o as new OvalShape
  o.width = 12
  o.height = 12
  o.left = 59
  o.top = 2
  o.X = o.left + 6
  o.Y = o.top + 6
  o.FillColor = clr(3)

What am I misinterpreting?

Jax
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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