Namespace: frameRect

models.profiles.frameRect

Builds rectangular frames with varying corner details
Source:

Methods

(static) rectangularFrame(opts)

Builds a rectangular frame with the given corner options (interior and exterior)
Parameters:
Name Type Description
opts object
Properties
Name Type Description
size Array.<number> Size of interior space
direction string Where ornaments are applied. Choose between "in" (default), "out", or "both"
frameWidth number Width of frame around interior space
cornerOpts object options for interior side
Properties
Name Type Description
style string profile type, like "tri45deg", "rectSixtyThirty", "ellipseGolden", "cornerBezSilver"
size number
length number
width number
radius number
longAxis string
opt string Option for each corner. Choose between "inv", "inset", "offset"
outCornerOpts object options for exterior side
Source:
Returns:
...

(static) shapedRectangle(opts)

Builds a shaped rectangle with the given corner options
Parameters:
Name Type Description
opts object
Properties
Name Type Description
size Array.<number>
cornerOpts object options for interior side
Properties
Name Type Description
style string profile type, like "tri45deg", "rectSixtyThirty", "ellipseGolden", "cornerBezSilver"
size number
length number
width number
radius number
longAxis string
opt string Option for each corner. Choose between "inv", "inset", "offset"
Source:
Returns:
...