Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
PathHelper

Package | org.apache.flex.graphics.utils
Class | public class PathHelper
Inheritance | PathHelper Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | getBounds(data:String):Rectangle [static] | PathHelper
|  | getSegments(data:String, x:Number = 0, y:Number = 0):GraphicsPath [static] | PathHelper

Method Detail

getBounds | () | method

`public static function getBounds(data:String):Rectangle`

Parameters

| `data:String`

Returns

| `Rectangle`

getSegments | () | method |

`public static function getSegments(data:String, x:Number = 0, y:Number = 0):GraphicsPath`

Parameters

| `data:String`
| `x:Number` (default = `0`)``
| `y:Number` (default = `0`)``

Returns

| `GraphicsPath`

Mon Sep 5 2016, 07:19 AM -07:00