#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# GraphicBase Class

Defined in: `graphics/js/GraphicBase.js:226`
Module: graphics

GraphicBase serves as the base class for the graphic layer. It serves the same purpose as Base but uses a lightweight getter/setter class instead of Attribute. This class is temporary and a work in progress.

## Constructor

### `GraphicBase`

(

- `cfg`

)

Defined in `graphics/js/GraphicBase.js:226`

#### Parameters:

- `cfg` Object

  Key value pairs for attributes

- Index
- Methods

## Item Index

### Methods

- _camelCaseConcat
- init

## Methods

### `_camelCaseConcat`

(

- `prefix`
- `name`

)
private

Defined in `graphics/js/GraphicBase.js:274`

Camel case concatanates two strings.

#### Parameters:

- `prefix` String

  The first string

- `name` String

  The second string

#### Returns:

String

### `init`

() protected

Defined in `graphics/js/GraphicBase.js:258`

Init method, invoked during construction. Fires an init event after calling `initializer` on implementers.