Class ShapeTools
				
				
			
				
				
				
					
Defined in:  ShapeTools.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Gathers some useful tools for shapes. | 
| Method Attributes | Method Name and Description | 
|---|---|
| <static> | ShapeTools.getPolylineShape(points, curved, closedPath)
								 Returns the shape of a polyline. | 
| <static> | ShapeTools.getStroke(thickness, capStyle, joinStyle, dashPattern, dashOffset)
								 Returns the line stroke matching the given line styles. | 
					Method Detail
				
				
					 
					<static> 
					
					{Object}
					ShapeTools.getPolylineShape(points, curved, closedPath)
					
					
					
						Returns the shape of a polyline.
						
						
					
					
					
					
						
							- Parameters:
- {Array} points
- {boolean} curved
- {boolean} closedPath
- Returns:
- {Object}
<static> 
					
					{Object}
					ShapeTools.getStroke(thickness, capStyle, joinStyle, dashPattern, dashOffset)
					
					
					
						Returns the line stroke matching the given line styles.
						
						
					
					
					
					
						
							- Parameters:
- {number} thickness
- {Polyline.CapStyle} capStyle
- {Polyline.JoinStyle} joinStyle
- {number[]} dashPattern
- {number} dashOffset
- Returns:
- {Object}

