Details and Options
Ratios ri and sizes si must be real values from 0 to 1.
The number of anchors centered on each cell of a grid is generated with width and height
{si*Sqrt[rj],si/Sqrt[rj]} with different combinations of
si and
rj.
Anchor coordinates values typically are from 0 to 1.
The following options are supported:
Method | Full | the method to generate anchors per pixel |
"ClippingQ" | False | whether to clip out-of-boundary anchors |
"Steps" | Automatic | gird steps in vertical and horizontal directions |
"Offsets" | {0.5,0.5} | anchor offsets from the bottom left corner of a grid cell |
"CoordinateSystem" | “ReversedGraphicsCoordinates" | coordinate system of the anchors |
"BoundingBoxFormat" | "Corner" | anchor format: "Corner", "Center" or "Rectangle" |
"CoordinateSystem" can be "GraphicsCoordinates" with origin in the bottom left corner or "ReversedGraphicsCoordinates" with origin in the top left corner.
Cells are sorted from left to right, from top to bottom independent of the "CoordinateSystem" value.
If
Method option is “SSD", size and ratio combinations are
{si*Sqrt[r1],si/Sqrt[r1]}, and
{s1*Sqrt[rj],s1/Sqrt[rj]}, with
i from 1 to
n,
j from 2 to
m, with total number
n+m-1, and where
n and
m are the length of the scale and ratios lists. If
Method is
Full, all combinations of sizes and ratios are used with a total number
n*m per cell.
For "BoundingBoxFormat"→"Corner", the result is a list of the form {xmin,ymin,xmax,ymax} while for "BoundingBoxFormat"→"Center", the result is in the form {xcenter,ycenter,width,height}.
Setting “BoundingBoxFormat to "Rectangle"returns list of
Rectangle objects.