Skip to main content
Participating Frequently
Jun 4, 2013 11:59 AM UTC
Question

Bounding box of a Graphic object

Hi,

How can we obtain bounding box of the graphic object generated by fill etc.,

i tried with "pathbbox" it will provide the exact x,y position but iam not able to get the height and width of the object.

Regards,

S.Sudhagar

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Legend
Jun 15, 2013 9:55 PM UTC

pathbbox gives the bounding box of the current path (subject to the limitations on curves described). I am not sure why you say you can't get width and height.

Translate