The errors in Javascript do not always get detected until you try running the
specific code.

With regards to the clip property of a layer, there is a method called getClip
that returns a 4 element array of values corresponding to [top, right, bottom,
left]

I hope this is of use.

BTW, what is the release date of the version that you are using?

Mike Carlin wrote:

> Is there a way of simply retrieving the clip boundaries of a layer?  I'm
> trying to centre a layer over another which may be clipped and thus the
> centreing needs to take place on the clipped region.  I'm using the afroapi
> and have tried editing layer.js but my changes do not seem to have any
> effect.  (I've even edited-in blatant javascript mistakes without errors
> appearing!) How could that be if I include afroapi.api.layer?
>
> Mike (C)1991
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010





_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to