Paper.JS Item Breakdown - Stetson-Team-Alpha/paper.js GitHub Wiki
PaperJS Classes and Associated Attributes
Basic
Line-base
Properties
point
vector
infinite
Matrix-base
a – scaleX coord
b – sheerY coord
c – sheerX coord
d – scaleY coord
tx – translateY coord
ty – translateY coord
Point-base
x – xCoord
y - yCoord
Rectangle-base
x – xCoord
y – yCoord
width
height
Size-base
width
height
Items
Item-base
id
project
style
matrix
Group – item
children[]
namedChildren
Layer – group
project
index
Raster(image) – PlacedItem
boundsType
image
canvas
context
Path
PathItem – Item
no real code?
Path - PathItem
closed
selectedSegmentState
segments[]
curves[]
Constructors
Line
Rectangle
RoundRectangle
Oval
Circle
Arc
RegularPolygon
Star
CompoundPath – PathItem
children[]
namedChildren
Curve - Base
segement1
segment2
length
CurveLocation - Base
curve
parameter
point
distance
Segement – Base
point – anchor point
handleIn – describes tangent
handleOut – describes tangent
SegmentPoint – Point
x
y
owner
Style
PathStyle – Style
owner
style
defaults
fillColor
strokeColor
strokeWidth
strokeCap
strokeJoin
miterLimit
dashOffset
dashArray
flags
strokeWidth
strokeCap
strokeJoin
miterLimit
CharacterStyle – PathStyle
defaults
fillColor
fontSize
leading
font
flags
fontSize
leading
font
ParagraphStyle – Style
owner
style
defaults
justification
flags
justification
Text
TextItem – Item
style
paragraphStyle
base
content
lines[]
PointText – TextItem
point
Project
Symbol – Base
project
definition
instances
Project – PaperScopeItem
base
currentStyle
selectedItems
selectedItemCount
layers[]
symbols[]
activeLayer
view
Core
PaperScopeItem – Base
scope
index
PaperScope
project
projects[]
tools[]
id