PathPropertyBoundingBox

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the bounding box of <mPath>
Associationscom.livecode.canvas
Summary

The bounding box of a path.

Parameters
NameTypeDescription
mPath

An expression which evaluates to a path.

Example
// Create a circle path
variable tPath as Path
put circle path centered at point [100,100] with radius 50 into tPath

// Get the bounds of the path
variable tBounds as Rectangle
put the bounding box of tPath into tBounds
Description

The smallest rectangle that competely encloses mPath.

Tagscanvas