TinyLine 2.5

com.tinyline.svg
Class SVG

java.lang.Object
  extended by com.tinyline.svg.SVG

public class SVG
extends java.lang.Object

The SVG class defines SVG Tiny constants such as elements, attributes and values as for SVG Tiny specification.

Version:
1.9

Field Summary
static int ATT_ACCENT_HEIGHT
          The accent-height attribute handle
static int ATT_ACCUMULATE
          The accumulate attribute handle
static int ATT_ADDITIVE
          The additive attribute handle
static int ATT_ALPHABETIC
          The alphabetic attribute handle
static int ATT_ARABIC_FORM
          The arabic-form attribute handle
static int ATT_ASCENT
          The ascent attribute handle
static int ATT_ATTRIBUTENAME
          The attributeName attribute handle
static int ATT_ATTRIBUTETYPE
          The attributeType attribute handle
static int ATT_BASELINE
          The baseline attribute handle
static int ATT_BASEPROFILE
          The baseProfile attribute handle
static int ATT_BBOX
          The bbox attribute handle
static int ATT_BEGIN
          The begin attribute handle
static int ATT_BY
          The by attribute handle
static int ATT_CALCMODE
          The calcMode attribute handle
static int ATT_CAP_HEIGHT
          The cap-height attribute handle
static int ATT_COLOR
          The color attribute handle
static int ATT_COLOR_RENDERING
          The color-rendering attribute handle
static int ATT_CONTENT
          The content attribute handle
static int ATT_CX
          The cx attribute handle
static int ATT_CY
          The cy attribute handle
static int ATT_D
          The d attribute handle
static int ATT_DESCENT
          The descent attribute handle
static int ATT_DISPLAY
          The display attribute handle
static int ATT_DUR
          The dur attribute handle
static int ATT_END
          The end attribute handle
static int ATT_FILL
          The fill attribute handle
static int ATT_FILL_OPACITY
          The fill-opacity attribute handle
static int ATT_FILL_RULE
          The fill-rule attribute handle
static int ATT_FONT_FAMILY
          The font-family attribute handle
static int ATT_FONT_SIZE
          The font-size attribute handle
static int ATT_FONT_STRETCH
          The font-stretch attribute handle
static int ATT_FONT_STYLE
          The font-style attribute handle
static int ATT_FONT_VARIANT
          The font-variant attribute handle
static int ATT_FONT_WEIGHT
          The font-weight attribute handle
static int ATT_FROM
          The from attribute handle
static int ATT_G1
          The g1 attribute handle
static int ATT_G2
          The g2 attribute handle
static int ATT_GLYPH_NAME
          The glyph-name attribute handle
static int ATT_GRADIENTTRANSFORM
          The gradientTransform attribute handle
static int ATT_GRADIENTUNITS
          The gradientUnits attribute handle
static int ATT_HANGING
          The hanging attribute handle
static int ATT_HEIGHT
          The height attribute handle
static int ATT_HORIZ_ADV_X
          The horiz-adv-x attribute handle
static int ATT_HORIZ_ORIGIN_X
          The horiz-origin-x attribute handle
static int ATT_ID
          The id attribute handle
static int ATT_IDEOGRAPHIC
          The ideographic attribute handle
static int ATT_K
          The k attribute handle
static int ATT_KEYPOINTS
          The keyPoints attribute handle
static int ATT_KEYSPLINES
          The keySplines attribute handle
static int ATT_KEYTIMES
          The keyTimes attribute handle
static int ATT_LANG
          The lang attribute handle
static int ATT_MATHEMATICAL
          The mathematical attribute handle
static int ATT_MAX
          The max attribute handle
static int ATT_MIN
          The min attribute handle
static int ATT_NAME
          The name attribute handle
static int ATT_OFFSET
          The offset attribute handle
static int ATT_OPACITY
          The opacity attribute handle
static int ATT_ORIGIN
          The origin attribute handle
static int ATT_OVERLINE_POSITION
          The overline-position attribute handle
static int ATT_OVERLINE_THICKNESS
          The overline-thickness attribute handle
static int ATT_PANOSE_1
          The panose-1 attribute handle
static int ATT_PATH
          The path attribute handle
static int ATT_PATHLENGTH
          The pathLength attribute handle
static int ATT_POINTS
          The points attribute handle
static int ATT_PRESERVEASPECTRATIO
          The preserveAspectRatio attribute handle
static int ATT_R
          The r attribute handle
static int ATT_REPEATCOUNT
          The repeatCount attribute handle
static int ATT_REPEATDUR
          The repeatDur attribute handle
static int ATT_REQUIREDEXTENSIONS
          The requiredExtensions attribute handle
static int ATT_REQUIREDFEATURES
          The requiredFeatures attribute handle
static int ATT_RESTART
          The restart attribute handle
static int ATT_ROTATE
          The rotate attribute handle
static int ATT_RX
          The rx attribute handle
static int ATT_RY
          The ry attribute handle
static int ATT_SLOPE
          The slope attribute handle
static int ATT_SPREADMETHOD
          The spreadMethod attribute handle
static int ATT_STEMH
          The stemh attribute handle
static int ATT_STEMV
          The stemv attribute handle
static int ATT_STOP_COLOR
          The stop-color attribute handle
static int ATT_STOP_OPACITY
          The stop-opacity attribute handle
static int ATT_STRIKETHROUGH_POSITION
          The strikethrough-position attribute handle
static int ATT_STRIKETHROUGH_THICKNESS
          The strikethrough-thickness attribute handle
static int ATT_STROKE
          The stroke attribute handle
static int ATT_STROKE_DASHARRAY
          The stroke-dasharray attribute handle
static int ATT_STROKE_DASHOFFSET
          The stroke-dashoffset attribute handle
static int ATT_STROKE_LINECAP
          The stroke-linecap attribute handle
static int ATT_STROKE_LINEJOIN
          The stroke-linejoin attribute handle
static int ATT_STROKE_MITERLIMIT
          The stroke-miterlimit attribute handle
static int ATT_STROKE_OPACITY
          The stroke-opacity attribute handle
static int ATT_STROKE_WIDTH
          The stroke-width attribute handle
static int ATT_STYLE
          The style attribute handle
static int ATT_SYSTEMLANGUAGE
          The systemLanguage attribute handle
static int ATT_TARGET
          The target attribute handle
static int ATT_TEXT_ANCHOR
          The text-anchor attribute handle
static int ATT_TO
          The to attribute handle
static int ATT_TRANSFORM
          The transform attribute handle
static int ATT_TYPE
          The type attribute handle
static int ATT_U1
          The u1 attribute handle
static int ATT_U2
          The u2 attribute handle
static int ATT_UNDERLINE_POSITION
          The underline-position attribute handle
static int ATT_UNDERLINE_THICKNESS
          The underline-thickness attribute handle
static int ATT_UNICODE
          The unicode attribute handle
static int ATT_UNICODE_RANGE
          The unicode-range attribute handle
static int ATT_UNITS_PER_EM
          The units-per-em attribute handle
static int ATT_UNKNOWN
          The unknown attribute handle
static int ATT_VALUES
          The values attribute handle
static int ATT_VERSION
          The version attribute handle
static int ATT_VIEWBOX
          The viewBox attribute handle
static int ATT_VISIBILITY
          The visibility attribute handle
static int ATT_WIDTH
          The width attribute handle
static int ATT_WIDTHS
          The widths attribute handle
static int ATT_X
          The x attribute handle
static int ATT_X_HEIGHT
          The x-height attribute handle
static int ATT_X1
          The x1 attribute handle
static int ATT_X2
          The x2 attribute handle
static int ATT_XLINK_ACTUATE
          The xlink:actuate attribute handle
static int ATT_XLINK_ARCROLE
          The xlink:arcrole attribute handle
static int ATT_XLINK_HREF
          The xlink:href attribute handle
static int ATT_XLINK_ROLE
          The xlink:role attribute handle
static int ATT_XLINK_SHOW
          The xlink:show attribute handle
static int ATT_XLINK_TITLE
          The xlink:title attribute handle
static int ATT_XLINK_TYPE
          The xlink:type attribute handle
static int ATT_XML_BASE
          The xml:base attribute handle
static int ATT_XML_LANG
          The xml:lang attribute handle
static int ATT_XML_SPACE
          The xml:space attribute handle
static int ATT_Y
          The y attribute handle
static int ATT_Y1
          The y1 attribute handle
static int ATT_Y2
          The y2 attribute handle
static int ATT_ZOOMANDPAN
          The zoomAndPan attribute handle
static char[][] ATTRIBUTES
          The SVG Tiny Attribute Index.
static int DATATYPE_COLOR
          The Color data type.
static int DATATYPE_DASHARRAY
          The Dash Array data type.
static int DATATYPE_ENUM
          The Enumeration data type.
static int DATATYPE_NUMBER
          The Number data type.
static int DATATYPE_NUMBERLIST
          The List of Numbers data type.
static int DATATYPE_PATH
          The Path data type.
static int DATATYPE_PATHLIST
          The List of Paths data type.
static int DATATYPE_POINTLIST
          The List of Points data type.
static int DATATYPE_STRING
          The String data type.
static int DATATYPE_STRINGLIST
          The List of Points data type.
static int DATATYPE_TIME
          The Time data type.
static int DATATYPE_TRANSFORM
          The Trasform data type.
static int DATATYPE_UNKNOWN
          The Unknown data type.
static int DATATYPE_VIEWBOX
          The View Box data type.
static int ELEM_A
          The a element handle
static int ELEM_ANIMATE
          The animate element handle
static int ELEM_ANIMATECOLOR
          The animateColor element handle
static int ELEM_ANIMATEMOTION
          The animateMotion element handle
static int ELEM_ANIMATETRANSFORM
          The animateTransform element handle
static int ELEM_CIRCLE
          The circle element handle
static int ELEM_DEFS
          The defs element handle
static int ELEM_DESC
          The desc element handle
static int ELEM_DOCUMENT
          The document element handle
static int ELEM_ELLIPSE
          The ellipse element handle
static int ELEM_FONT
          The font element handle
static int ELEM_FONT_FACE
          The font-face element handle
static int ELEM_FONT_FACE_NAME
          The font-face-name element handle
static int ELEM_FONT_FACE_SRC
          The font-face-src element handle
static int ELEM_FOREIGNOBJECT
          The foreignObject element handle
static int ELEM_G
          The g element handle
static int ELEM_GLYPH
          The glyph element handle
static int ELEM_HKERN
          The hkern element handle
static int ELEM_IMAGE
          The image element handle
static int ELEM_LINE
          The line element handle
static int ELEM_LINEARGRADIENT
          The linearGradient element handle
static int ELEM_METADATA
          The metadata element handle
static int ELEM_MISSING_GLYPH
          The missing-glyph element handle
static int ELEM_MPATH
          The mpath element handle
static int ELEM_PATH
          The path element handle
static int ELEM_POLYGON
          The polygon element handle
static int ELEM_POLYLINE
          The polyline element handle
static int ELEM_RADIALGRADIENT
          The radialGradient element handle
static int ELEM_RECT
          The rect element handle
static int ELEM_SET
          The set element handle
static int ELEM_STOP
          The stop element handle
static int ELEM_SVG
          The svg element handle
static int ELEM_SWITCH
          The switch element handle
static int ELEM_TEXT
          The text element handle
static int ELEM_TITLE
          The title element handle
static int ELEM_UNKNOWN
          The unknown element handle
static int ELEM_USE
          The use element handle
static char[][] ELEMENTS
          The SVG Tiny Element Index.
static int ERR_HIERARCHY_REQUEST
          The error code: A node is inserted somewhere it doesn't belong.
static int ERR_INVALID_ARG
          The error code: Invalid argument format.
static int ERR_NOT_FOUND
          The error code: Argument is not found.
static int ERR_NOT_SUPPORTED
          The error code: This feature is not supported.
static int ERR_NUMBER_FORMAT
          The error code: Invalid number format.
static int ERR_OK
          The error code: No errors.
static int VAL_100
          The 100 attribute value handle
static int VAL_200
          The 200 attribute value handle
static int VAL_300
          The 300 attribute value handle
static int VAL_400
          The 400 attribute value handle
static int VAL_500
          The 500 attribute value handle
static int VAL_600
          The 600 attribute value handle
static int VAL_700
          The 700 attribute value handle
static int VAL_800
          The 800 attribute value handle
static int VAL_900
          The 900 attribute value handle
static int VAL_ALWAYS
          The always attribute value handle
static int VAL_AUTO
          The auto attribute value handle
static int VAL_AUTO_REVERSE
          The auto-reverse attribute value handle
static int VAL_BEVEL
          The bevel attribute value handle
static int VAL_BOLD
          The bold attribute value handle
static int VAL_BOLDER
          The bolder attribute value handle
static int VAL_BUTT
          The butt attribute value handle
static int VAL_COLLAPSE
          The collapse attribute value handle
static int VAL_CURRENTCOLOR
          The currentColor attribute value handle
static int VAL_DEFAULT
          The default attribute value handle
static TinyString VAL_DEFAULT_FONTFAMILY
           
static int VAL_DISABLE
          The disable attribute value handle
static int VAL_DISCRETE
          The discrete attribute value handle
static int VAL_END
          The end attribute value handle
static int VAL_EVENODD
          The evenodd attribute value handle
static int VAL_FREEZE
          The freeze attribute value handle
static int VAL_HIDDEN
          The hidden attribute value handle
static int VAL_INDEFINITE
          The indefinite attribute value handle
static int VAL_INHERIT
          The inherit attribute value handle
static int VAL_INLINE
          The inline attribute value handle
static int VAL_ITALIC
          The italic attribute value handle
static int VAL_LIGHTER
          The lighter attribute value handle
static int VAL_LINEAR
          The linear attribute value handle
static int VAL_MAGNIFY
          The magnify attribute value handle
static int VAL_MIDDLE
          The middle attribute value handle
static int VAL_MITER
          The miter attribute value handle
static int VAL_NEVER
          The never attribute value handle
static int VAL_NONE
          The none attribute value handle
static int VAL_NONZERO
          The nonzero attribute value handle
static int VAL_NORMAL
          The normal attribute value handle
static int VAL_OBJECTBOUNDINGBOX
          The objectBoundingBox attribute value handle
static int VAL_OBLIQUE
          The oblique attribute value handle
static int VAL_PACED
          The paced attribute value handle
static int VAL_PAD
          The pad attribute value handle
static int VAL_PRESERVE
          The preserve attribute value handle
static int VAL_REFLECT
          The reflect attribute value handle
static int VAL_REMOVE
          The remove attribute value handle
static int VAL_REPEAT
          The repeat attribute value handle
static int VAL_REPLACE
          The replace attribute value handle
static int VAL_ROTATE
          The rotate attribute value handle
static int VAL_ROUND
          The round attribute value handle
static int VAL_SCALE
          The scale attribute value handle
static int VAL_SKEWX
          The skewX attribute value handle
static int VAL_SKEWY
          The skewY attribute value handle
static int VAL_SPLINE
          The spline attribute value handle
static int VAL_SQUARE
          The square attribute value handle
static int VAL_START
          The start attribute value handle
static int[] VAL_STROKEDASHARRAYINHERIT
          Indicates that dashing is inhereted.
static int[] VAL_STROKEDASHARRAYNONE
          Indicates that no dashing is used.
static int VAL_SUM
          The sum attribute value handle
static int VAL_TRANSLATE
          The translate attribute value handle
static int VAL_UNKNOWN
          The unknown attribute value handle
static int VAL_USERSPACEONUSE
          The userSpaceOnUse attribute value handle
static int VAL_VISIBLE
          The visible attribute value handle
static int VAL_WHENNOTACTIVE
          The whenNotActive attribute value handle
static int VAL_XMIDYMID_MEET
          The xMidYMid meet attribute value handle
static char[][] VALUES
          The SVG Tiny Attribute Value Index.
 
Constructor Summary
SVG()
           
 
Method Summary
static int attributeDataType(int helem, int hattr)
          Returns the datatype for the given element and attribute handles.
static int attributeName(char[] buffer, int offset, int len)
          Returns the attribute handle for the given attribute name.
static int attributeValue(char[] buffer, int offset, int len)
          Returns the attribute value handle for the given attribute value name.
static java.lang.Object copyAttributeValue(java.lang.Object src, int dataType)
          Returns the copy of the given attribute value.
static int elementName(char[] buffer, int offset, int len)
          Returns the element handle for the given element name.
static int getIndex(char[][] array, char[] seek, int offset, int len)
          Returns the index within this character array of arrays of the first occurrence of the specified subarray.
static boolean isElementAnimatable(int helem)
          Returns true if the given element is animatable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATT_ACCENT_HEIGHT

public static final int ATT_ACCENT_HEIGHT
The accent-height attribute handle

See Also:
Constant Field Values

ATT_ACCUMULATE

public static final int ATT_ACCUMULATE
The accumulate attribute handle

See Also:
Constant Field Values

ATT_ADDITIVE

public static final int ATT_ADDITIVE
The additive attribute handle

See Also:
Constant Field Values

ATT_ALPHABETIC

public static final int ATT_ALPHABETIC
The alphabetic attribute handle

See Also:
Constant Field Values

ATT_ARABIC_FORM

public static final int ATT_ARABIC_FORM
The arabic-form attribute handle

See Also:
Constant Field Values

ATT_ASCENT

public static final int ATT_ASCENT
The ascent attribute handle

See Also:
Constant Field Values

ATT_ATTRIBUTENAME

public static final int ATT_ATTRIBUTENAME
The attributeName attribute handle

See Also:
Constant Field Values

ATT_ATTRIBUTETYPE

public static final int ATT_ATTRIBUTETYPE
The attributeType attribute handle

See Also:
Constant Field Values

ATT_BASELINE

public static final int ATT_BASELINE
The baseline attribute handle

See Also:
Constant Field Values

ATT_BASEPROFILE

public static final int ATT_BASEPROFILE
The baseProfile attribute handle

See Also:
Constant Field Values

ATT_BBOX

public static final int ATT_BBOX
The bbox attribute handle

See Also:
Constant Field Values

ATT_BEGIN

public static final int ATT_BEGIN
The begin attribute handle

See Also:
Constant Field Values

ATT_BY

public static final int ATT_BY
The by attribute handle

See Also:
Constant Field Values

ATT_CALCMODE

public static final int ATT_CALCMODE
The calcMode attribute handle

See Also:
Constant Field Values

ATT_CAP_HEIGHT

public static final int ATT_CAP_HEIGHT
The cap-height attribute handle

See Also:
Constant Field Values

ATT_COLOR

public static final int ATT_COLOR
The color attribute handle

See Also:
Constant Field Values

ATT_COLOR_RENDERING

public static final int ATT_COLOR_RENDERING
The color-rendering attribute handle

See Also:
Constant Field Values

ATT_CONTENT

public static final int ATT_CONTENT
The content attribute handle

See Also:
Constant Field Values

ATT_CX

public static final int ATT_CX
The cx attribute handle

See Also:
Constant Field Values

ATT_CY

public static final int ATT_CY
The cy attribute handle

See Also:
Constant Field Values

ATT_D

public static final int ATT_D
The d attribute handle

See Also:
Constant Field Values

ATT_DESCENT

public static final int ATT_DESCENT
The descent attribute handle

See Also:
Constant Field Values

ATT_DISPLAY

public static final int ATT_DISPLAY
The display attribute handle

See Also:
Constant Field Values

ATT_DUR

public static final int ATT_DUR
The dur attribute handle

See Also:
Constant Field Values

ATT_END

public static final int ATT_END
The end attribute handle

See Also:
Constant Field Values

ATT_FILL

public static final int ATT_FILL
The fill attribute handle

See Also:
Constant Field Values

ATT_FILL_OPACITY

public static final int ATT_FILL_OPACITY
The fill-opacity attribute handle

See Also:
Constant Field Values

ATT_FILL_RULE

public static final int ATT_FILL_RULE
The fill-rule attribute handle

See Also:
Constant Field Values

ATT_FONT_FAMILY

public static final int ATT_FONT_FAMILY
The font-family attribute handle

See Also:
Constant Field Values

ATT_FONT_SIZE

public static final int ATT_FONT_SIZE
The font-size attribute handle

See Also:
Constant Field Values

ATT_FONT_STRETCH

public static final int ATT_FONT_STRETCH
The font-stretch attribute handle

See Also:
Constant Field Values

ATT_FONT_STYLE

public static final int ATT_FONT_STYLE
The font-style attribute handle

See Also:
Constant Field Values

ATT_FONT_VARIANT

public static final int ATT_FONT_VARIANT
The font-variant attribute handle

See Also:
Constant Field Values

ATT_FONT_WEIGHT

public static final int ATT_FONT_WEIGHT
The font-weight attribute handle

See Also:
Constant Field Values

ATT_FROM

public static final int ATT_FROM
The from attribute handle

See Also:
Constant Field Values

ATT_G1

public static final int ATT_G1
The g1 attribute handle

See Also:
Constant Field Values

ATT_G2

public static final int ATT_G2
The g2 attribute handle

See Also:
Constant Field Values

ATT_GLYPH_NAME

public static final int ATT_GLYPH_NAME
The glyph-name attribute handle

See Also:
Constant Field Values

ATT_GRADIENTTRANSFORM

public static final int ATT_GRADIENTTRANSFORM
The gradientTransform attribute handle

See Also:
Constant Field Values

ATT_GRADIENTUNITS

public static final int ATT_GRADIENTUNITS
The gradientUnits attribute handle

See Also:
Constant Field Values

ATT_HANGING

public static final int ATT_HANGING
The hanging attribute handle

See Also:
Constant Field Values

ATT_HEIGHT

public static final int ATT_HEIGHT
The height attribute handle

See Also:
Constant Field Values

ATT_HORIZ_ADV_X

public static final int ATT_HORIZ_ADV_X
The horiz-adv-x attribute handle

See Also:
Constant Field Values

ATT_HORIZ_ORIGIN_X

public static final int ATT_HORIZ_ORIGIN_X
The horiz-origin-x attribute handle

See Also:
Constant Field Values

ATT_ID

public static final int ATT_ID
The id attribute handle

See Also:
Constant Field Values

ATT_IDEOGRAPHIC

public static final int ATT_IDEOGRAPHIC
The ideographic attribute handle

See Also:
Constant Field Values

ATT_K

public static final int ATT_K
The k attribute handle

See Also:
Constant Field Values

ATT_KEYPOINTS

public static final int ATT_KEYPOINTS
The keyPoints attribute handle

See Also:
Constant Field Values

ATT_KEYSPLINES

public static final int ATT_KEYSPLINES
The keySplines attribute handle

See Also:
Constant Field Values

ATT_KEYTIMES

public static final int ATT_KEYTIMES
The keyTimes attribute handle

See Also:
Constant Field Values

ATT_LANG

public static final int ATT_LANG
The lang attribute handle

See Also:
Constant Field Values

ATT_MATHEMATICAL

public static final int ATT_MATHEMATICAL
The mathematical attribute handle

See Also:
Constant Field Values

ATT_MAX

public static final int ATT_MAX
The max attribute handle

See Also:
Constant Field Values

ATT_MIN

public static final int ATT_MIN
The min attribute handle

See Also:
Constant Field Values

ATT_NAME

public static final int ATT_NAME
The name attribute handle

See Also:
Constant Field Values

ATT_OFFSET

public static final int ATT_OFFSET
The offset attribute handle

See Also:
Constant Field Values

ATT_OPACITY

public static final int ATT_OPACITY
The opacity attribute handle

See Also:
Constant Field Values

ATT_ORIGIN

public static final int ATT_ORIGIN
The origin attribute handle

See Also:
Constant Field Values

ATT_OVERLINE_POSITION

public static final int ATT_OVERLINE_POSITION
The overline-position attribute handle

See Also:
Constant Field Values

ATT_OVERLINE_THICKNESS

public static final int ATT_OVERLINE_THICKNESS
The overline-thickness attribute handle

See Also:
Constant Field Values

ATT_PANOSE_1

public static final int ATT_PANOSE_1
The panose-1 attribute handle

See Also:
Constant Field Values

ATT_PATH

public static final int ATT_PATH
The path attribute handle

See Also:
Constant Field Values

ATT_PATHLENGTH

public static final int ATT_PATHLENGTH
The pathLength attribute handle

See Also:
Constant Field Values

ATT_POINTS

public static final int ATT_POINTS
The points attribute handle

See Also:
Constant Field Values

ATT_PRESERVEASPECTRATIO

public static final int ATT_PRESERVEASPECTRATIO
The preserveAspectRatio attribute handle

See Also:
Constant Field Values

ATT_R

public static final int ATT_R
The r attribute handle

See Also:
Constant Field Values

ATT_REPEATCOUNT

public static final int ATT_REPEATCOUNT
The repeatCount attribute handle

See Also:
Constant Field Values

ATT_REPEATDUR

public static final int ATT_REPEATDUR
The repeatDur attribute handle

See Also:
Constant Field Values

ATT_REQUIREDEXTENSIONS

public static final int ATT_REQUIREDEXTENSIONS
The requiredExtensions attribute handle

See Also:
Constant Field Values

ATT_REQUIREDFEATURES

public static final int ATT_REQUIREDFEATURES
The requiredFeatures attribute handle

See Also:
Constant Field Values

ATT_RESTART

public static final int ATT_RESTART
The restart attribute handle

See Also:
Constant Field Values

ATT_ROTATE

public static final int ATT_ROTATE
The rotate attribute handle

See Also:
Constant Field Values

ATT_RX

public static final int ATT_RX
The rx attribute handle

See Also:
Constant Field Values

ATT_RY

public static final int ATT_RY
The ry attribute handle

See Also:
Constant Field Values

ATT_SLOPE

public static final int ATT_SLOPE
The slope attribute handle

See Also:
Constant Field Values

ATT_SPREADMETHOD

public static final int ATT_SPREADMETHOD
The spreadMethod attribute handle

See Also:
Constant Field Values

ATT_STEMH

public static final int ATT_STEMH
The stemh attribute handle

See Also:
Constant Field Values

ATT_STEMV

public static final int ATT_STEMV
The stemv attribute handle

See Also:
Constant Field Values

ATT_STOP_COLOR

public static final int ATT_STOP_COLOR
The stop-color attribute handle

See Also:
Constant Field Values

ATT_STOP_OPACITY

public static final int ATT_STOP_OPACITY
The stop-opacity attribute handle

See Also:
Constant Field Values

ATT_STRIKETHROUGH_POSITION

public static final int ATT_STRIKETHROUGH_POSITION
The strikethrough-position attribute handle

See Also:
Constant Field Values

ATT_STRIKETHROUGH_THICKNESS

public static final int ATT_STRIKETHROUGH_THICKNESS
The strikethrough-thickness attribute handle

See Also:
Constant Field Values

ATT_STROKE

public static final int ATT_STROKE
The stroke attribute handle

See Also:
Constant Field Values

ATT_STROKE_DASHARRAY

public static final int ATT_STROKE_DASHARRAY
The stroke-dasharray attribute handle

See Also:
Constant Field Values

ATT_STROKE_DASHOFFSET

public static final int ATT_STROKE_DASHOFFSET
The stroke-dashoffset attribute handle

See Also:
Constant Field Values

ATT_STROKE_LINECAP

public static final int ATT_STROKE_LINECAP
The stroke-linecap attribute handle

See Also:
Constant Field Values

ATT_STROKE_LINEJOIN

public static final int ATT_STROKE_LINEJOIN
The stroke-linejoin attribute handle

See Also:
Constant Field Values

ATT_STROKE_MITERLIMIT

public static final int ATT_STROKE_MITERLIMIT
The stroke-miterlimit attribute handle

See Also:
Constant Field Values

ATT_STROKE_OPACITY

public static final int ATT_STROKE_OPACITY
The stroke-opacity attribute handle

See Also:
Constant Field Values

ATT_STROKE_WIDTH

public static final int ATT_STROKE_WIDTH
The stroke-width attribute handle

See Also:
Constant Field Values

ATT_STYLE

public static final int ATT_STYLE
The style attribute handle

See Also:
Constant Field Values

ATT_SYSTEMLANGUAGE

public static final int ATT_SYSTEMLANGUAGE
The systemLanguage attribute handle

See Also:
Constant Field Values

ATT_TARGET

public static final int ATT_TARGET
The target attribute handle

See Also:
Constant Field Values

ATT_TEXT_ANCHOR

public static final int ATT_TEXT_ANCHOR
The text-anchor attribute handle

See Also:
Constant Field Values

ATT_TO

public static final int ATT_TO
The to attribute handle

See Also:
Constant Field Values

ATT_TRANSFORM

public static final int ATT_TRANSFORM
The transform attribute handle

See Also:
Constant Field Values

ATT_TYPE

public static final int ATT_TYPE
The type attribute handle

See Also:
Constant Field Values

ATT_U1

public static final int ATT_U1
The u1 attribute handle

See Also:
Constant Field Values

ATT_U2

public static final int ATT_U2
The u2 attribute handle

See Also:
Constant Field Values

ATT_UNDERLINE_POSITION

public static final int ATT_UNDERLINE_POSITION
The underline-position attribute handle

See Also:
Constant Field Values

ATT_UNDERLINE_THICKNESS

public static final int ATT_UNDERLINE_THICKNESS
The underline-thickness attribute handle

See Also:
Constant Field Values

ATT_UNICODE

public static final int ATT_UNICODE
The unicode attribute handle

See Also:
Constant Field Values

ATT_UNICODE_RANGE

public static final int ATT_UNICODE_RANGE
The unicode-range attribute handle

See Also:
Constant Field Values

ATT_UNITS_PER_EM

public static final int ATT_UNITS_PER_EM
The units-per-em attribute handle

See Also:
Constant Field Values

ATT_UNKNOWN

public static final int ATT_UNKNOWN
The unknown attribute handle

See Also:
Constant Field Values

ATT_VALUES

public static final int ATT_VALUES
The values attribute handle

See Also:
Constant Field Values

ATT_VERSION

public static final int ATT_VERSION
The version attribute handle

See Also:
Constant Field Values

ATT_VIEWBOX

public static final int ATT_VIEWBOX
The viewBox attribute handle

See Also:
Constant Field Values

ATT_VISIBILITY

public static final int ATT_VISIBILITY
The visibility attribute handle

See Also:
Constant Field Values

ATT_WIDTH

public static final int ATT_WIDTH
The width attribute handle

See Also:
Constant Field Values

ATT_WIDTHS

public static final int ATT_WIDTHS
The widths attribute handle

See Also:
Constant Field Values

ATT_X

public static final int ATT_X
The x attribute handle

See Also:
Constant Field Values

ATT_X_HEIGHT

public static final int ATT_X_HEIGHT
The x-height attribute handle

See Also:
Constant Field Values

ATT_X1

public static final int ATT_X1
The x1 attribute handle

See Also:
Constant Field Values

ATT_X2

public static final int ATT_X2
The x2 attribute handle

See Also:
Constant Field Values

ATT_XLINK_ACTUATE

public static final int ATT_XLINK_ACTUATE
The xlink:actuate attribute handle

See Also:
Constant Field Values

ATT_XLINK_ARCROLE

public static final int ATT_XLINK_ARCROLE
The xlink:arcrole attribute handle

See Also:
Constant Field Values

ATT_XLINK_HREF

public static final int ATT_XLINK_HREF
The xlink:href attribute handle

See Also:
Constant Field Values

ATT_XLINK_ROLE

public static final int ATT_XLINK_ROLE
The xlink:role attribute handle

See Also:
Constant Field Values

ATT_XLINK_SHOW

public static final int ATT_XLINK_SHOW
The xlink:show attribute handle

See Also:
Constant Field Values

ATT_XLINK_TITLE

public static final int ATT_XLINK_TITLE
The xlink:title attribute handle

See Also:
Constant Field Values

ATT_XLINK_TYPE

public static final int ATT_XLINK_TYPE
The xlink:type attribute handle

See Also:
Constant Field Values

ATT_XML_BASE

public static final int ATT_XML_BASE
The xml:base attribute handle

See Also:
Constant Field Values

ATT_XML_LANG

public static final int ATT_XML_LANG
The xml:lang attribute handle

See Also:
Constant Field Values

ATT_XML_SPACE

public static final int ATT_XML_SPACE
The xml:space attribute handle

See Also:
Constant Field Values

ATT_Y

public static final int ATT_Y
The y attribute handle

See Also:
Constant Field Values

ATT_Y1

public static final int ATT_Y1
The y1 attribute handle

See Also:
Constant Field Values

ATT_Y2

public static final int ATT_Y2
The y2 attribute handle

See Also:
Constant Field Values

ATT_ZOOMANDPAN

public static final int ATT_ZOOMANDPAN
The zoomAndPan attribute handle

See Also:
Constant Field Values

ATTRIBUTES

public static char[][] ATTRIBUTES
The SVG Tiny Attribute Index.


DATATYPE_COLOR

public static final int DATATYPE_COLOR
The Color data type. Corresponds to TinyColor.

See Also:
Constant Field Values

DATATYPE_DASHARRAY

public static final int DATATYPE_DASHARRAY
The Dash Array data type. Corresponds to int [].

See Also:
Constant Field Values

DATATYPE_ENUM

public static final int DATATYPE_ENUM
The Enumeration data type. Corresponds to TinyNumber.

See Also:
Constant Field Values

DATATYPE_NUMBER

public static final int DATATYPE_NUMBER
The Number data type. Corresponds to TinyNumber.

See Also:
Constant Field Values

DATATYPE_NUMBERLIST

public static final int DATATYPE_NUMBERLIST
The List of Numbers data type. Corresponds to TinyVector of TinyNumbers.

See Also:
Constant Field Values

DATATYPE_PATH

public static final int DATATYPE_PATH
The Path data type. Corresponds to TinyPath.

See Also:
Constant Field Values

DATATYPE_PATHLIST

public static final int DATATYPE_PATHLIST
The List of Paths data type. Corresponds to TinyVector of TinyPaths.

See Also:
Constant Field Values

DATATYPE_POINTLIST

public static final int DATATYPE_POINTLIST
The List of Points data type. Corresponds to TinyVector of TinyPoints.

See Also:
Constant Field Values

DATATYPE_STRING

public static final int DATATYPE_STRING
The String data type. Corresponds to TinyString.

See Also:
Constant Field Values

DATATYPE_STRINGLIST

public static final int DATATYPE_STRINGLIST
The List of Points data type. Corresponds to TinyVector of TinyStrings.

See Also:
Constant Field Values

DATATYPE_TIME

public static final int DATATYPE_TIME
The Time data type. Corresponds to SMILTime.

See Also:
Constant Field Values

DATATYPE_TRANSFORM

public static final int DATATYPE_TRANSFORM
The Trasform data type. Corresponds to TinyTransform.

See Also:
Constant Field Values

DATATYPE_UNKNOWN

public static final int DATATYPE_UNKNOWN
The Unknown data type.

See Also:
Constant Field Values

DATATYPE_VIEWBOX

public static final int DATATYPE_VIEWBOX
The View Box data type. Corresponds to SVGRect.

See Also:
Constant Field Values

ELEM_A

public static final int ELEM_A
The a element handle

See Also:
Constant Field Values

ELEM_ANIMATE

public static final int ELEM_ANIMATE
The animate element handle

See Also:
Constant Field Values

ELEM_ANIMATECOLOR

public static final int ELEM_ANIMATECOLOR
The animateColor element handle

See Also:
Constant Field Values

ELEM_ANIMATEMOTION

public static final int ELEM_ANIMATEMOTION
The animateMotion element handle

See Also:
Constant Field Values

ELEM_ANIMATETRANSFORM

public static final int ELEM_ANIMATETRANSFORM
The animateTransform element handle

See Also:
Constant Field Values

ELEM_CIRCLE

public static final int ELEM_CIRCLE
The circle element handle

See Also:
Constant Field Values

ELEM_DEFS

public static final int ELEM_DEFS
The defs element handle

See Also:
Constant Field Values

ELEM_DESC

public static final int ELEM_DESC
The desc element handle

See Also:
Constant Field Values

ELEM_DOCUMENT

public static final int ELEM_DOCUMENT
The document element handle

See Also:
Constant Field Values

ELEM_ELLIPSE

public static final int ELEM_ELLIPSE
The ellipse element handle

See Also:
Constant Field Values

ELEM_FONT

public static final int ELEM_FONT
The font element handle

See Also:
Constant Field Values

ELEM_FONT_FACE

public static final int ELEM_FONT_FACE
The font-face element handle

See Also:
Constant Field Values

ELEM_FONT_FACE_NAME

public static final int ELEM_FONT_FACE_NAME
The font-face-name element handle

See Also:
Constant Field Values

ELEM_FONT_FACE_SRC

public static final int ELEM_FONT_FACE_SRC
The font-face-src element handle

See Also:
Constant Field Values

ELEM_FOREIGNOBJECT

public static final int ELEM_FOREIGNOBJECT
The foreignObject element handle

See Also:
Constant Field Values

ELEM_G

public static final int ELEM_G
The g element handle

See Also:
Constant Field Values

ELEM_GLYPH

public static final int ELEM_GLYPH
The glyph element handle

See Also:
Constant Field Values

ELEM_HKERN

public static final int ELEM_HKERN
The hkern element handle

See Also:
Constant Field Values

ELEM_IMAGE

public static final int ELEM_IMAGE
The image element handle

See Also:
Constant Field Values

ELEM_LINE

public static final int ELEM_LINE
The line element handle

See Also:
Constant Field Values

ELEM_LINEARGRADIENT

public static final int ELEM_LINEARGRADIENT
The linearGradient element handle

See Also:
Constant Field Values

ELEM_METADATA

public static final int ELEM_METADATA
The metadata element handle

See Also:
Constant Field Values

ELEM_MISSING_GLYPH

public static final int ELEM_MISSING_GLYPH
The missing-glyph element handle

See Also:
Constant Field Values

ELEM_MPATH

public static final int ELEM_MPATH
The mpath element handle

See Also:
Constant Field Values

ELEM_PATH

public static final int ELEM_PATH
The path element handle

See Also:
Constant Field Values

ELEM_POLYGON

public static final int ELEM_POLYGON
The polygon element handle

See Also:
Constant Field Values

ELEM_POLYLINE

public static final int ELEM_POLYLINE
The polyline element handle

See Also:
Constant Field Values

ELEM_RADIALGRADIENT

public static final int ELEM_RADIALGRADIENT
The radialGradient element handle

See Also:
Constant Field Values

ELEM_RECT

public static final int ELEM_RECT
The rect element handle

See Also:
Constant Field Values

ELEM_SET

public static final int ELEM_SET
The set element handle

See Also:
Constant Field Values

ELEM_STOP

public static final int ELEM_STOP
The stop element handle

See Also:
Constant Field Values

ELEM_SVG

public static final int ELEM_SVG
The svg element handle

See Also:
Constant Field Values

ELEM_SWITCH

public static final int ELEM_SWITCH
The switch element handle

See Also:
Constant Field Values

ELEM_TEXT

public static final int ELEM_TEXT
The text element handle

See Also:
Constant Field Values

ELEM_TITLE

public static final int ELEM_TITLE
The title element handle

See Also:
Constant Field Values

ELEM_UNKNOWN

public static final int ELEM_UNKNOWN
The unknown element handle

See Also:
Constant Field Values

ELEM_USE

public static final int ELEM_USE
The use element handle

See Also:
Constant Field Values

ELEMENTS

public static char[][] ELEMENTS
The SVG Tiny Element Index.


ERR_HIERARCHY_REQUEST

public static final int ERR_HIERARCHY_REQUEST
The error code: A node is inserted somewhere it doesn't belong.

See Also:
Constant Field Values

ERR_INVALID_ARG

public static final int ERR_INVALID_ARG
The error code: Invalid argument format.

See Also:
Constant Field Values

ERR_NOT_FOUND

public static final int ERR_NOT_FOUND
The error code: Argument is not found.

See Also:
Constant Field Values

ERR_NOT_SUPPORTED

public static final int ERR_NOT_SUPPORTED
The error code: This feature is not supported.

See Also:
Constant Field Values

ERR_NUMBER_FORMAT

public static final int ERR_NUMBER_FORMAT
The error code: Invalid number format.

See Also:
Constant Field Values

ERR_OK

public static final int ERR_OK
The error code: No errors.

See Also:
Constant Field Values

VAL_100

public static final int VAL_100
The 100 attribute value handle

See Also:
Constant Field Values

VAL_200

public static final int VAL_200
The 200 attribute value handle

See Also:
Constant Field Values

VAL_300

public static final int VAL_300
The 300 attribute value handle

See Also:
Constant Field Values

VAL_400

public static final int VAL_400
The 400 attribute value handle

See Also:
Constant Field Values

VAL_500

public static final int VAL_500
The 500 attribute value handle

See Also:
Constant Field Values

VAL_600

public static final int VAL_600
The 600 attribute value handle

See Also:
Constant Field Values

VAL_700

public static final int VAL_700
The 700 attribute value handle

See Also:
Constant Field Values

VAL_800

public static final int VAL_800
The 800 attribute value handle

See Also:
Constant Field Values

VAL_900

public static final int VAL_900
The 900 attribute value handle

See Also:
Constant Field Values

VAL_ALWAYS

public static final int VAL_ALWAYS
The always attribute value handle

See Also:
Constant Field Values

VAL_AUTO

public static final int VAL_AUTO
The auto attribute value handle

See Also:
Constant Field Values

VAL_AUTO_REVERSE

public static final int VAL_AUTO_REVERSE
The auto-reverse attribute value handle

See Also:
Constant Field Values

VAL_BEVEL

public static final int VAL_BEVEL
The bevel attribute value handle

See Also:
Constant Field Values

VAL_BOLD

public static final int VAL_BOLD
The bold attribute value handle

See Also:
Constant Field Values

VAL_BOLDER

public static final int VAL_BOLDER
The bolder attribute value handle

See Also:
Constant Field Values

VAL_BUTT

public static final int VAL_BUTT
The butt attribute value handle

See Also:
Constant Field Values

VAL_COLLAPSE

public static final int VAL_COLLAPSE
The collapse attribute value handle

See Also:
Constant Field Values

VAL_CURRENTCOLOR

public static final int VAL_CURRENTCOLOR
The currentColor attribute value handle

See Also:
Constant Field Values

VAL_DEFAULT

public static final int VAL_DEFAULT
The default attribute value handle

See Also:
Constant Field Values

VAL_DEFAULT_FONTFAMILY

public static final TinyString VAL_DEFAULT_FONTFAMILY

VAL_DISABLE

public static final int VAL_DISABLE
The disable attribute value handle

See Also:
Constant Field Values

VAL_DISCRETE

public static final int VAL_DISCRETE
The discrete attribute value handle

See Also:
Constant Field Values

VAL_END

public static final int VAL_END
The end attribute value handle

See Also:
Constant Field Values

VAL_EVENODD

public static final int VAL_EVENODD
The evenodd attribute value handle

See Also:
Constant Field Values

VAL_FREEZE

public static final int VAL_FREEZE
The freeze attribute value handle

See Also:
Constant Field Values

VAL_HIDDEN

public static final int VAL_HIDDEN
The hidden attribute value handle

See Also:
Constant Field Values

VAL_INDEFINITE

public static final int VAL_INDEFINITE
The indefinite attribute value handle

See Also:
Constant Field Values

VAL_INHERIT

public static final int VAL_INHERIT
The inherit attribute value handle

See Also:
Constant Field Values

VAL_INLINE

public static final int VAL_INLINE
The inline attribute value handle

See Also:
Constant Field Values

VAL_ITALIC

public static final int VAL_ITALIC
The italic attribute value handle

See Also:
Constant Field Values

VAL_LIGHTER

public static final int VAL_LIGHTER
The lighter attribute value handle

See Also:
Constant Field Values

VAL_LINEAR

public static final int VAL_LINEAR
The linear attribute value handle

See Also:
Constant Field Values

VAL_MAGNIFY

public static final int VAL_MAGNIFY
The magnify attribute value handle

See Also:
Constant Field Values

VAL_MIDDLE

public static final int VAL_MIDDLE
The middle attribute value handle

See Also:
Constant Field Values

VAL_MITER

public static final int VAL_MITER
The miter attribute value handle

See Also:
Constant Field Values

VAL_NEVER

public static final int VAL_NEVER
The never attribute value handle

See Also:
Constant Field Values

VAL_NONE

public static final int VAL_NONE
The none attribute value handle

See Also:
Constant Field Values

VAL_NONZERO

public static final int VAL_NONZERO
The nonzero attribute value handle

See Also:
Constant Field Values

VAL_NORMAL

public static final int VAL_NORMAL
The normal attribute value handle

See Also:
Constant Field Values

VAL_OBJECTBOUNDINGBOX

public static final int VAL_OBJECTBOUNDINGBOX
The objectBoundingBox attribute value handle

See Also:
Constant Field Values

VAL_OBLIQUE

public static final int VAL_OBLIQUE
The oblique attribute value handle

See Also:
Constant Field Values

VAL_PACED

public static final int VAL_PACED
The paced attribute value handle

See Also:
Constant Field Values

VAL_PAD

public static final int VAL_PAD
The pad attribute value handle

See Also:
Constant Field Values

VAL_PRESERVE

public static final int VAL_PRESERVE
The preserve attribute value handle

See Also:
Constant Field Values

VAL_REFLECT

public static final int VAL_REFLECT
The reflect attribute value handle

See Also:
Constant Field Values

VAL_REMOVE

public static final int VAL_REMOVE
The remove attribute value handle

See Also:
Constant Field Values

VAL_REPEAT

public static final int VAL_REPEAT
The repeat attribute value handle

See Also:
Constant Field Values

VAL_REPLACE

public static final int VAL_REPLACE
The replace attribute value handle

See Also:
Constant Field Values

VAL_ROTATE

public static final int VAL_ROTATE
The rotate attribute value handle

See Also:
Constant Field Values

VAL_ROUND

public static final int VAL_ROUND
The round attribute value handle

See Also:
Constant Field Values

VAL_SCALE

public static final int VAL_SCALE
The scale attribute value handle

See Also:
Constant Field Values

VAL_SKEWX

public static final int VAL_SKEWX
The skewX attribute value handle

See Also:
Constant Field Values

VAL_SKEWY

public static final int VAL_SKEWY
The skewY attribute value handle

See Also:
Constant Field Values

VAL_SPLINE

public static final int VAL_SPLINE
The spline attribute value handle

See Also:
Constant Field Values

VAL_SQUARE

public static final int VAL_SQUARE
The square attribute value handle

See Also:
Constant Field Values

VAL_START

public static final int VAL_START
The start attribute value handle

See Also:
Constant Field Values

VAL_STROKEDASHARRAYINHERIT

public static final int[] VAL_STROKEDASHARRAYINHERIT
Indicates that dashing is inhereted.


VAL_STROKEDASHARRAYNONE

public static final int[] VAL_STROKEDASHARRAYNONE
Indicates that no dashing is used. If stroked, the line is drawn solid.


VAL_SUM

public static final int VAL_SUM
The sum attribute value handle

See Also:
Constant Field Values

VAL_TRANSLATE

public static final int VAL_TRANSLATE
The translate attribute value handle

See Also:
Constant Field Values

VAL_UNKNOWN

public static final int VAL_UNKNOWN
The unknown attribute value handle

See Also:
Constant Field Values

VAL_USERSPACEONUSE

public static final int VAL_USERSPACEONUSE
The userSpaceOnUse attribute value handle

See Also:
Constant Field Values

VAL_VISIBLE

public static final int VAL_VISIBLE
The visible attribute value handle

See Also:
Constant Field Values

VAL_WHENNOTACTIVE

public static final int VAL_WHENNOTACTIVE
The whenNotActive attribute value handle

See Also:
Constant Field Values

VAL_XMIDYMID_MEET

public static final int VAL_XMIDYMID_MEET
The xMidYMid meet attribute value handle

See Also:
Constant Field Values

VALUES

public static char[][] VALUES
The SVG Tiny Attribute Value Index.

Constructor Detail

SVG

public SVG()
Method Detail

attributeDataType

public static int attributeDataType(int helem,
                                    int hattr)
Returns the datatype for the given element and attribute handles.

Parameters:
helem - The element handle.
hattr - The attribute handle.
Returns:
The datatype value from the list:
  • DATATYPE_UNKNOWN
  • DATATYPE_COLOR
  • DATATYPE_DASHARRAY
  • DATATYPE_ENUM
  • DATATYPE_NUMBER
  • DATATYPE_NUMBERLIST
  • DATATYPE_PATH
  • DATATYPE_PATHLIST
  • DATATYPE_POINTLIST
  • DATATYPE_STRING
  • DATATYPE_STRINGLIST
  • DATATYPE_TRANSFORM
  • DATATYPE_TIME
  • DATATYPE_VIEWBOX

attributeName

public static int attributeName(char[] buffer,
                                int offset,
                                int len)
Returns the attribute handle for the given attribute name.

Parameters:
buffer - The input buffer (not copied) of the attribute name.
offset - Offset of the first char of the attribute name.
len - Number of chars of the attribute name.
Returns:
The attribute handle for the given attribute name. If the given name was not found it returns SVG.ATT_UNKNOWN value.

attributeValue

public static int attributeValue(char[] buffer,
                                 int offset,
                                 int len)
Returns the attribute value handle for the given attribute value name.

Parameters:
buffer - The input buffer (not copied) of the attribute value name.
offset - Offset of the first char of the attribute value name.
len - Number of chars of the attribute value name.
Returns:
The value handle for the given attribute value name. If the given name was not found it returns SVG.VAL_UNKNOWN value.

copyAttributeValue

public static java.lang.Object copyAttributeValue(java.lang.Object src,
                                                  int dataType)
Returns the copy of the given attribute value.

Parameters:
src - The source attribute value.
dataType - The attribute data type.
Returns:
The copy of the attribute value.

elementName

public static int elementName(char[] buffer,
                              int offset,
                              int len)
Returns the element handle for the given element name.

Parameters:
buffer - The input buffer (not copied) of the element name.
offset - Offset of the first char of the element name.
len - Number of chars of the element name.
Returns:
The attribute handle for the given element name. If the given name was not found it returns SVG.ELEM_UNKNOWN value.

getIndex

public static int getIndex(char[][] array,
                           char[] seek,
                           int offset,
                           int len)
Returns the index within this character array of arrays of the first occurrence of the specified subarray.

Parameters:
array - a character array of arrays.
seek - subarray that is the source of characters.
offset - the initial offset.
len - the length.
Returns:
the index of the first occurrence of the subarray.

isElementAnimatable

public static boolean isElementAnimatable(int helem)
Returns true if the given element is animatable. Otherwise returns false.

Parameters:
helem - The element handle.
Returns:
True if the given element is animatable. Otherwise returns false.

TinyLine 2.5

Provided under the terms of the TinyLine License Agreement that has been included with this distribution.