Oh right! Square Brackets denote optional in the dictionary. You can use
centerRect or centerRectangle. :-)
Bob S
> On Feb 13, 2019, at 19:10 , Mark Wieder via use-livecode
> wrote:
>
> On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
>
>> 2. centerRect[angle]
>>
Jacque,
Thanks for the example explanations. I wan’t quite understanding the usefulness.
—
Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web http://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-800-615-0867
The centerRect allows you to stretch a portion of an image without
affecting the areas outside of the rectangle. Imagine you have an image
with rounded corners and you want to use it as a button icon. You can
specify an area in the center of the image that can stretch as wide as you
need the
On 2/13/19 7:43 PM, Brian Milby via use-livecode wrote:
In that context, the brackets are surrounding optional text so
CenterRect Or CenterRectangle
Ha! That makes even more sense.
--
Mark Wieder
ahsoftw...@gmail.com
___
use-livecode
In that context, the brackets are surrounding optional text so
CenterRect Or CenterRectangle
Thanks,
Brian
On Feb 13, 2019, 10:10 PM -0500, Mark Wieder via use-livecode
, wrote:
> On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
>
> > 2. centerRect[angle]
> > Implies
On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
2. centerRect[angle]
Implies an array. But there is no reference to an array in the
dictionary?
I've never used the centerRect property, but I'm sure "angle" here
should read "rectangle".
--
Mark Wieder
See my other message to the list of UI Handlers…
For my library, I was looking for clues to "centering " and came across
centerRect
set the centerRect[angle] of image to rectangle
set the centerRect of image "buttonImage" to 20,20,45,200
Dictionary is obscure,
1. What does "stretching"