Preparing search index...
The search index is not available
@penrose/bloom
@penrose/bloom
Polygon
Interface Polygon
interface
Polygon
{
drag
:
boolean
;
dragConstraint
:
DragConstraint
;
ensureOnCanvas
:
boolean
;
fillColor
:
Color
;
interactiveOnly
:
boolean
;
name
:
string
;
points
:
Vec2
[]
;
scale
:
Num
;
shapeType
:
Polygon
;
strokeColor
:
Color
;
strokeDasharray
:
string
;
strokeStyle
:
string
;
strokeWidth
:
Num
;
}
Hierarchy (
view full
)
ShapeCommon
Stroke
Fill
Scale
Poly
Polygon
Index
Properties
drag
drag
Constraint
ensure
On
Canvas
fill
Color
interactive
Only
name
points
scale
shape
Type
stroke
Color
stroke
Dasharray
stroke
Style
stroke
Width
Properties
drag
drag
:
boolean
drag
Constraint
drag
Constraint
:
DragConstraint
ensure
On
Canvas
ensure
On
Canvas
:
boolean
fill
Color
fill
Color
:
Color
interactive
Only
interactive
Only
:
boolean
name
name
:
string
points
points
:
Vec2
[]
scale
scale
:
Num
shape
Type
shape
Type
:
Polygon
stroke
Color
stroke
Color
:
Color
stroke
Dasharray
stroke
Dasharray
:
string
stroke
Style
stroke
Style
:
string
stroke
Width
stroke
Width
:
Num
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
drag
drag
Constraint
ensure
On
Canvas
fill
Color
interactive
Only
name
points
scale
shape
Type
stroke
Color
stroke
Dasharray
stroke
Style
stroke
Width
@penrose/bloom
constraints
collinear
collinearOrdered
contains
contains1D
containsCirclePoint
containsCirclePoly
containsCircleRect
containsCircles
containsPolyCircle
containsPolyPoint
containsPolys
containsRectCircle
containsRects
disjoint
disjointIntervals
disjointScalar
distributeHorizontally
distributeVertically
equal
greaterThan
greaterThanSq
inRange
lessThan
lessThanSq
onCanvas
overlapping
overlappingCircleEllipse
overlappingEllipses
perpendicular
touching
objectives
RectLike
above
below
centerLabel
centerLabelAbove
equal
greaterThan
inDirection
isEquiangular
isEquilateral
isRegular
leftwards
lessThan
maximal
minimal
near
nearPt
nearVec
nonDegenerateAngle
notTooClose
pointLineDist
repelPt
repelScalar
rightwards
sameCenter
ShapeType
Diagram
DiagramBuilder
SharedInput
Arrow
Center
Circle
Corner
Drag
Ellipse
Equation
Fill
Group
Image
Line
Path
Poly
Polygon
Polyline
Rect
Rectangle
Rotate
Scale
ShapeCommon
String
Stroke
Text
CircleProps
Color
DiagramCreationData
DragConstraint
EllipseProps
EquationProps
GroupProps
ImageProps
InputOpts
LineProps
PathData
PathProps
PolygonProps
PolylineProps
Predicate
RectangleProps
SelectorAssignment
SelectorVars
Shape
ShapeProps
Substance
TextProps
Type
Vec2
Vec3
Vec4
VecN
ops
penroseShapeFieldTypes
AnimatedRenderer
MathE
MathPI
Penrose
Renderer
abs
acos
acosh
add
and
angleBetween
angleFrom
angleOf
arc
arcSweepFlag
asin
asinh
atan
atan2
atanh
average
average2
averagePoint
barycenter
canvas
cbrt
ceil
chevron
circleRandom
circularArc
circumcenter
circumradius
closestPoint
closestPointCircle
closestPointEllipse
closestPointGroup
closestPointLine
closestPointPoly
closestPointRect
closestSilhouetteDistance
closestSilhouettePoint
closestSilhouettePointCircle
closestSilhouettePointEllipse
closestSilhouettePointGroup
closestSilhouettePointLine
closestSilhouettePointPolygon
closestSilhouettePointPolyline
closestSilhouettePointRect
concatenatePaths
connectPaths
cos
cosh
count
cross
cross2D
crossProductMatrix
cubicCurveFromPoints
determinant
diagonal
diffusionProcess
diskRandom
div
dot
eq
exp
expm1
firstPoint
floor
fromHomogeneous
fromHomogeneousList
get
gt
gte
hsva
identity
ifCond
incenter
innerPointOffset
inradius
interpolateQuadraticFromPoints
interpolatingSpline
inverse
joinPaths
lastPoint
length
lineLineIntersection
ln
log
log10
log1p
log2
lookAt
lt
lte
makePath
matrix
matrix3d
matrixMultiplyList
max
maxList
midpoint
midpointOffset
min
minList
mod
mul
neg
none
norm
normalRandom
normalize
normsq
not
oneBasedElement
or
orientedSquare
ortho
outerProduct
pathFromPoints
perspective
pow
project
projectDepth
projectList
ptOnLine
quadraticCurveFromPoints
random
randomIndex
rayIntersect
rayIntersectCircle
rayIntersectCircleDistance
rayIntersectDistance
rayIntersectEllipse
rayIntersectEllipseDistance
rayIntersectGroup
rayIntersectGroupDistance
rayIntersectLine
rayIntersectLineDistance
rayIntersectNormal
rayIntersectNormalCircle
rayIntersectNormalEllipse
rayIntersectNormalGroup
rayIntersectNormalLine
rayIntersectNormalPoly
rayIntersectNormalRect
rayIntersectPoly
rayIntersectPolyDistance
rayIntersectRect
rayIntersectRectDistance
rectLineDist
repeatedArcs
rgba
rot90
rotate
rotate2d
rotate3d
rotate3dh
rotateBy
round
sampleColor
scale
scale2d
scale3d
scale3dh
selectColor
setOpacity
shapeDistance
shapeDistanceCircleLine
shapeDistanceCircles
shapeDistanceLines
shapeDistancePolyEllipse
shapeDistancePolys
shapeDistanceRectCircle
shapeDistanceRectLine
shapeDistanceRectlikePolyline
shapeDistanceRects
shear
shear2d
shear3d
sign
signedDistance
signedDistanceCircle
signedDistanceEllipse
signedDistanceGroup
signedDistanceLine
signedDistancePolygon
signedDistancePolyline
signedDistanceRect
sin
sinh
skew
skew2d
sphereRandom
sqr
sqrt
sub
sum
sumVectors
tan
tanh
ticksOnLine
toDegrees
toHomogeneous
toHomogeneousList
toHomogeneousMatrix
toRadians
trace
translate
translate3dh
triangle
triangleRandom
trunc
unit
unitMark
unitMark2
unitRandom
unitVector
useDiagram
useSharedInput
vdist
vdistsq
vmul
wedge
"
"