001: /*
002:
003: ============================================================================
004: The Apache Software License, Version 1.1
005: ============================================================================
006:
007: Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
008:
009: Redistribution and use in source and binary forms, with or without modifica-
010: tion, are permitted provided that the following conditions are met:
011:
012: 1. Redistributions of source code must retain the above copyright notice,
013: this list of conditions and the following disclaimer.
014:
015: 2. Redistributions in binary form must reproduce the above copyright notice,
016: this list of conditions and the following disclaimer in the documentation
017: and/or other materials provided with the distribution.
018:
019: 3. The end-user documentation included with the redistribution, if any, must
020: include the following acknowledgment: "This product includes software
021: developed by the Apache Software Foundation (http://www.apache.org/)."
022: Alternately, this acknowledgment may appear in the software itself, if
023: and wherever such third-party acknowledgments normally appear.
024:
025: 4. The names "Batik" and "Apache Software Foundation" must not be
026: used to endorse or promote products derived from this software without
027: prior written permission. For written permission, please contact
028: apache@apache.org.
029:
030: 5. Products derived from this software may not be called "Apache", nor may
031: "Apache" appear in their name, without prior written permission of the
032: Apache Software Foundation.
033:
034: THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
035: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
036: FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
037: APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
038: INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
039: DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
040: OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
041: ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
042: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
043: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
044:
045: This software consists of voluntary contributions made by many individuals
046: on behalf of the Apache Software Foundation. For more information on the
047: Apache Software Foundation, please see <http://www.apache.org/>.
048:
049: */
050:
051: package org.apache.batik.util;
052:
053: /**
054: * Define SVG constants, such as tag names, attribute names and URI
055: *
056: * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
057: * @author <a href="vincent.hardy@eng.sun.com">Vincent Hardy</a>
058: * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
059: * @version $Id$
060: */
061: public interface SVGConstants extends CSSConstants {
062:
063: String TAG_TEXT_PATH = "textPath";
064: String ATTR_ID = "id";
065:
066: /////////////////////////////////////////////////////////////////////////
067: // SVG general
068: /////////////////////////////////////////////////////////////////////////
069:
070: String SVG_PUBLIC_ID = "-//W3C//DTD SVG 1.0//EN";
071: String SVG_SYSTEM_ID = "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";
072: String SVG_NAMESPACE_URI = "http://www.w3.org/2000/svg";
073: String SVG_VERSION = "1.0";
074:
075: //////////////////////////////////////////////////////////////////////////
076: // Events type and attributes
077: //////////////////////////////////////////////////////////////////////////
078:
079: /**
080: * The event type for MouseEvent.
081: */
082: String SVG_MOUSEEVENTS_EVENT_TYPE = "MouseEvents";
083:
084: /**
085: * The event type for UIEvent.
086: */
087: String SVG_UIEVENTS_EVENT_TYPE = "UIEvents";
088:
089: /**
090: * The event type for SVGEvent.
091: */
092: String SVG_SVGEVENTS_EVENT_TYPE = "SVGEvents";
093:
094: /**
095: * The event type for KeyEvent.
096: */
097: String SVG_KEYEVENTS_EVENT_TYPE = "KeyEvents";
098:
099: // ---------------------------------------------------------------------
100:
101: /**
102: * The event type for 'keydown' KeyEvent.
103: */
104: String SVG_KEYDOWN_EVENT_TYPE = "keydown";
105:
106: /**
107: * The event type for 'keypress' KeyEvent.
108: */
109: String SVG_KEYPRESS_EVENT_TYPE = "keypress";
110:
111: /**
112: * The event type for 'keyup' KeyEvent.
113: */
114: String SVG_KEYUP_EVENT_TYPE = "keyup";
115:
116: /**
117: * The event type for 'click' MouseEvent.
118: */
119: String SVG_CLICK_EVENT_TYPE = "click";
120:
121: /**
122: * The event type for 'mouseup' MouseEvent.
123: */
124: String SVG_MOUSEUP_EVENT_TYPE = "mouseup";
125:
126: /**
127: * The event type for 'mousedown' MouseEvent.
128: */
129: String SVG_MOUSEDOWN_EVENT_TYPE = "mousedown";
130:
131: /**
132: * The event type for 'mousemove' MouseEvent.
133: */
134: String SVG_MOUSEMOVE_EVENT_TYPE = "mousemove";
135:
136: /**
137: * The event type for 'mouseout' MouseEvent.
138: */
139: String SVG_MOUSEOUT_EVENT_TYPE = "mouseout";
140:
141: /**
142: * The event type for 'mouseover' MouseEvent.
143: */
144: String SVG_MOUSEOVER_EVENT_TYPE = "mouseover";
145:
146: /**
147: * The event type for 'DOMFocusIn' UIEvent.
148: */
149: String SVG_DOMFOCUSIN_EVENT_TYPE = "DOMFocusIn";
150:
151: /**
152: * The event type for 'DOMFocusOut' UIEvent.
153: */
154: String SVG_DOMFOCUSOUT_EVENT_TYPE = "DOMFocusOut";
155:
156: /**
157: * The event type for 'DOMActivate' UIEvent.
158: */
159: String SVG_DOMACTIVATE_EVENT_TYPE = "DOMActivate";
160:
161: /**
162: * The event type for 'SVGLoad' SVGEvent.
163: */
164: String SVG_SVGLOAD_EVENT_TYPE = "SVGLoad";
165:
166: /**
167: * The event type for 'SVGUnload' SVGEvent.
168: */
169: String SVG_SVGUNLOAD_EVENT_TYPE = "SVGUnload";
170:
171: /**
172: * The event type for 'SVGAbort' SVGEvent.
173: */
174: String SVG_SVGABORT_EVENT_TYPE = "SVGAbort";
175:
176: /**
177: * The event type for 'SVGError' SVGEvent.
178: */
179: String SVG_SVGERROR_EVENT_TYPE = "SVGError";
180:
181: /**
182: * The event type for 'SVGResize' SVGEvent.
183: */
184: String SVG_SVGRESIZE_EVENT_TYPE = "SVGResize";
185:
186: /**
187: * The event type for 'SVGScroll' SVGEvent.
188: */
189: String SVG_SVGSCROLL_EVENT_TYPE = "SVGScroll";
190:
191: /**
192: * The event type for 'SVGZoom' SVGEvent.
193: */
194: String SVG_SVGZOOM_EVENT_TYPE = "SVGZoom";
195:
196: // ---------------------------------------------------------------------
197:
198: /**
199: * The 'onkeyup' attribute name of type KeyEvents.
200: */
201: String SVG_ONKEYUP_ATTRIBUTE = "onkeyup";
202:
203: /**
204: * The 'onkeydown' attribute name of type KeyEvents.
205: */
206: String SVG_ONKEYDOWN_ATTRIBUTE = "onkeydown";
207:
208: /**
209: * The 'onkeypress' attribute name of type KeyEvents.
210: */
211: String SVG_ONKEYPRESS_ATTRIBUTE = "onkeypress";
212:
213: /**
214: * The 'onabort' attribute name of type SVGEvents.
215: */
216: String SVG_ONABORT_ATTRIBUTE = "onabort";
217:
218: /**
219: * The 'onabort' attribute name of type SVGEvents.
220: */
221: String SVG_ONACTIVATE_ATTRIBUTE = "onactivate";
222:
223: /**
224: * The 'onbegin' attribute name of type SVGEvents.
225: */
226: String SVG_ONBEGIN_ATTRIBUTE = "onbegin";
227:
228: /**
229: * The 'onclick' attribute name of type MouseEvents.
230: */
231: String SVG_ONCLICK_ATTRIBUTE = "onclick";
232:
233: /**
234: * The 'onend' attribute name of type SVGEvents.
235: */
236: String SVG_ONEND_ATTRIBUTE = "onend";
237:
238: /**
239: * The 'onerror' attribute name of type SVGEvents.
240: */
241: String SVG_ONERROR_ATTRIBUTE = "onerror";
242:
243: /**
244: * The 'onfocusin' attribute name of type UIEvents.
245: */
246: String SVG_ONFOCUSIN_ATTRIBUTE = "onfocusin";
247:
248: /**
249: * The 'onfocusout' attribute name of type UIEvents.
250: */
251: String SVG_ONFOCUSOUT_ATTRIBUTE = "onfocusout";
252:
253: /**
254: * The 'onload' attribute name of type SVGEvents.
255: */
256: String SVG_ONLOAD_ATTRIBUTE = "onload";
257:
258: /**
259: * The 'onmousedown' attribute name of type MouseEvents.
260: */
261: String SVG_ONMOUSEDOWN_ATTRIBUTE = "onmousedown";
262:
263: /**
264: * The 'onmousemove' attribute name of type MouseEvents.
265: */
266: String SVG_ONMOUSEMOVE_ATTRIBUTE = "onmousemove";
267:
268: /**
269: * The 'onmouseout' attribute name of type MouseEvents.
270: */
271: String SVG_ONMOUSEOUT_ATTRIBUTE = "onmouseout";
272:
273: /**
274: * The 'onmouseover' attribute name of type MouseEvents.
275: */
276: String SVG_ONMOUSEOVER_ATTRIBUTE = "onmouseover";
277:
278: /**
279: * The 'onmouseup' attribute name of type MouseEvents.
280: */
281: String SVG_ONMOUSEUP_ATTRIBUTE = "onmouseup";
282:
283: /**
284: * The 'onrepeat' attribute name of type SVGEvents.
285: */
286: String SVG_ONREPEAT_ATTRIBUTE = "onrepeat";
287:
288: /**
289: * The 'onresize' attribute name of type SVGEvents.
290: */
291: String SVG_ONRESIZE_ATTRIBUTE = "onresize";
292:
293: /**
294: * The 'onscroll' attribute name of type SVGEvents.
295: */
296: String SVG_ONSCROLL_ATTRIBUTE = "onscroll";
297:
298: /**
299: * The 'onunload' attribute name of type SVGEvents.
300: */
301: String SVG_ONUNLOAD_ATTRIBUTE = "onunload";
302:
303: /**
304: * The 'onzoom' attribute name of type SVGEvents.
305: */
306: String SVG_ONZOOM_ATTRIBUTE = "onzoom";
307:
308: /////////////////////////////////////////////////////////////////////////
309: // SVG features
310: /////////////////////////////////////////////////////////////////////////
311:
312: String SVG_ORG_W3C_SVG_FEATURE = "org.w3c.svg";
313: String SVG_ORG_W3C_SVG_LANG_FEATURE = "org.w3c.svg.lang";
314: String SVG_ORG_W3C_SVG_STATIC_FEATURE = "org.w3c.svg.static";
315:
316: /////////////////////////////////////////////////////////////////////////
317: // SVG tags
318: /////////////////////////////////////////////////////////////////////////
319:
320: String SVG_A_TAG = "a";
321: String SVG_ALT_GLYPH_TAG = "altGlyph";
322: String SVG_ALT_GLYPH_DEF_TAG = "altGlyphDef";
323: String SVG_ALT_GLYPH_ITEM_TAG = "altGlyphItem";
324: String SVG_ANIMATE_TAG = "animate";
325: String SVG_ANIMATE_COLOR_TAG = "animateColor";
326: String SVG_ANIMATE_MOTION_TAG = "animateMotion";
327: String SVG_ANIMATE_TRANSFORM_TAG = "animateTransform";
328: String SVG_CIRCLE_TAG = "circle";
329: String SVG_CLIP_PATH_TAG = "clipPath";
330: String SVG_COLOR_PROFILE_TAG = "color-profile";
331: String SVG_CURSOR_TAG = "cursor";
332: String SVG_DEFINITION_SRC_TAG = "definition-src";
333: String SVG_DEFS_TAG = "defs";
334: String SVG_DESC_TAG = "desc";
335: String SVG_ELLIPSE_TAG = "ellipse";
336: String SVG_FE_BLEND_TAG = "feBlend";
337: String SVG_FE_COLOR_MATRIX_TAG = "feColorMatrix";
338: String SVG_FE_COMPONENT_TRANSFER_TAG = "feComponentTransfer";
339: String SVG_FE_COMPOSITE_TAG = "feComposite";
340: String SVG_FE_CONVOLVE_MATRIX_TAG = "feConvolveMatrix";
341: String SVG_FE_DIFFUSE_LIGHTING_TAG = "feDiffuseLighting";
342: String SVG_FE_DISPLACEMENT_MAP_TAG = "feDisplacementMap";
343: String SVG_FE_DISTANT_LIGHT_TAG = "feDistantLight";
344: String SVG_FE_FLOOD_TAG = "feFlood";
345: String SVG_FE_FUNC_A_TAG = "feFuncA";
346: String SVG_FE_FUNC_B_TAG = "feFuncB";
347: String SVG_FE_FUNC_G_TAG = "feFuncG";
348: String SVG_FE_FUNC_R_TAG = "feFuncR";
349: String SVG_FE_GAUSSIAN_BLUR_TAG = "feGaussianBlur";
350: String SVG_FE_IMAGE_TAG = "feImage";
351: String SVG_FE_MERGE_NODE_TAG = "feMergeNode";
352: String SVG_FE_MERGE_TAG = "feMerge";
353: String SVG_FE_MORPHOLOGY_TAG = "feMorphology";
354: String SVG_FE_OFFSET_TAG = "feOffset";
355: String SVG_FE_POINT_LIGHT_TAG = "fePointLight";
356: String SVG_FE_SPECULAR_LIGHTING_TAG = "feSpecularLighting";
357: String SVG_FE_SPOT_LIGHT_TAG = "feSpotLight";
358: String SVG_FE_TILE_TAG = "feTile";
359: String SVG_FE_TURBULENCE_TAG = "feTurbulence";
360: String SVG_FILTER_TAG = "filter";
361: String SVG_FONT_TAG = "font";
362: String SVG_FONT_FACE_TAG = "font-face";
363: String SVG_FONT_FACE_FORMAT_TAG = "font-face-format";
364: String SVG_FONT_FACE_NAME_TAG = "font-face-name";
365: String SVG_FONT_FACE_SRC_TAG = "font-face-src";
366: String SVG_FONT_FACE_URI_TAG = "font-face-uri";
367: String SVG_FOREIGN_OBJECT_TAG = "foreignObject";
368: String SVG_G_TAG = "g";
369: String SVG_GLYPH_TAG = "glyph";
370: String SVG_GLYPH_REF_TAG = "glyphRef";
371: String SVG_HKERN_TAG = "hkern";
372: String SVG_IMAGE_TAG = "image";
373: String SVG_LINE_TAG = "line";
374: String SVG_LINEAR_GRADIENT_TAG = "linearGradient";
375: String SVG_MARKER_TAG = "marker";
376: String SVG_MASK_TAG = "mask";
377: String SVG_METADATA_TAG = "metadata";
378: String SVG_MISSING_GLYPH_TAG = "missing-glyph";
379: String SVG_MPATH_TAG = "mpath";
380: String SVG_PATH_TAG = "path";
381: String SVG_PATTERN_TAG = "pattern";
382: String SVG_POLYGON_TAG = "polygon";
383: String SVG_POLYLINE_TAG = "polyline";
384: String SVG_RADIAL_GRADIENT_TAG = "radialGradient";
385: String SVG_RECT_TAG = "rect";
386: String SVG_SET_TAG = "set";
387: String SVG_SCRIPT_TAG = "script";
388: String SVG_STOP_TAG = "stop";
389: String SVG_STYLE_TAG = "style";
390: String SVG_SVG_TAG = "svg";
391: String SVG_SWITCH_TAG = "switch";
392: String SVG_SYMBOL_TAG = "symbol";
393: String SVG_TEXT_PATH_TAG = "textPath";
394: String SVG_TEXT_TAG = "text";
395: String SVG_TITLE_TAG = "title";
396: String SVG_TREF_TAG = "tref";
397: String SVG_TSPAN_TAG = "tspan";
398: String SVG_USE_TAG = "use";
399: String SVG_VIEW_TAG = "view";
400: String SVG_VKERN_TAG = "vkern";
401:
402: /////////////////////////////////////////////////////////////////////////
403: // SVG attributes
404: /////////////////////////////////////////////////////////////////////////
405:
406: String SVG_ACCENT_HEIGHT_ATTRIBUTE = "accent-height";
407: String SVG_AMPLITUDE_ATTRIBUTE = "amplitude";
408: String SVG_ARABIC_FORM_ATTRIBUTE = "arabic-form";
409: String SVG_ASCENT_ATTRIBUTE = "ascent";
410: String SVG_AZIMUTH_ATTRIBUTE = "azimuth";
411: String SVG_ALPHABETIC_ATTRIBUTE = "alphabetic";
412: String SVG_BASE_FREQUENCY_ATTRIBUTE = "baseFrequency";
413: String SVG_BBOX_ATTRIBUTE = "bbox";
414: String SVG_BIAS_ATTRIBUTE = "bias";
415: String SVG_CALC_MODE_ATTRIBUTE = "calcMode";
416: String SVG_CAP_HEIGHT_ATTRIBUTE = "cap-height";
417: String SVG_CLASS_ATTRIBUTE = "class";
418: String SVG_CLIP_PATH_ATTRIBUTE = CSS_CLIP_PATH_PROPERTY;
419: String SVG_CLIP_PATH_UNITS_ATTRIBUTE = "clipPathUnits";
420: String SVG_COLOR_INTERPOLATION_ATTRIBUTE = CSS_COLOR_INTERPOLATION_PROPERTY;
421: String SVG_COLOR_RENDERING_ATTRIBUTE = CSS_COLOR_RENDERING_PROPERTY;
422: String SVG_CONTENT_SCRIPT_TYPE_ATTRIBUTE = "contentScriptType";
423: String SVG_CONTENT_STYLE_TYPE_ATTRIBUTE = "contentStyleType";
424: String SVG_CX_ATTRIBUTE = "cx";
425: String SVG_CY_ATTRIBUTE = "cy";
426: String SVG_DESCENT_ATTRIBUTE = "descent";
427: String SVG_DIFFUSE_CONSTANT_ATTRIBUTE = "diffuseConstant";
428: String SVG_DIVISOR_ATTRIBUTE = "divisor";
429: String SVG_DX_ATTRIBUTE = "dx";
430: String SVG_DY_ATTRIBUTE = "dy";
431: String SVG_D_ATTRIBUTE = "d";
432: String SVG_EDGE_MODE_ATTRIBUTE = "edgeMode";
433: String SVG_ELEVATION_ATTRIBUTE = "elevation";
434: String SVG_ENABLE_BACKGROUND_ATTRIBUTE = CSS_ENABLE_BACKGROUND_PROPERTY;
435: String SVG_EXPONENT_ATTRIBUTE = "exponent";
436: String SVG_EXTERNAL_RESOURCES_REQUIRED_ATTRIBUTE = "externalResourcesRequired";
437: String SVG_FILL_ATTRIBUTE = CSS_FILL_PROPERTY;
438: String SVG_FILL_OPACITY_ATTRIBUTE = CSS_FILL_OPACITY_PROPERTY;
439: String SVG_FILL_RULE_ATTRIBUTE = CSS_FILL_RULE_PROPERTY;
440: String SVG_FILTER_ATTRIBUTE = CSS_FILTER_PROPERTY;
441: String SVG_FILTER_RES_ATTRIBUTE = "filterRes";
442: String SVG_FILTER_UNITS_ATTRIBUTE = "filterUnits";
443: String SVG_FLOOD_COLOR_ATTRIBUTE = CSS_FLOOD_COLOR_PROPERTY;
444: String SVG_FLOOD_OPACITY_ATTRIBUTE = CSS_FLOOD_OPACITY_PROPERTY;
445: String SVG_FORMAT_ATTRIBUTE = "format";
446: String SVG_FONT_FAMILY_ATTRIBUTE = CSS_FONT_FAMILY_PROPERTY;
447: String SVG_FONT_SIZE_ATTRIBUTE = CSS_FONT_SIZE_PROPERTY;
448: String SVG_FONT_STRETCH_ATTRIBUTE = CSS_FONT_STRETCH_PROPERTY;
449: String SVG_FONT_STYLE_ATTRIBUTE = CSS_FONT_STYLE_PROPERTY;
450: String SVG_FONT_VARIANT_ATTRIBUTE = CSS_FONT_VARIANT_PROPERTY;
451: String SVG_FONT_WEIGHT_ATTRIBUTE = CSS_FONT_WEIGHT_PROPERTY;
452: String SVG_FX_ATTRIBUTE = "fx";
453: String SVG_FY_ATTRIBUTE = "fy";
454: String SVG_G1_ATTRIBUTE = "g1";
455: String SVG_G2_ATTRIBUTE = "g2";
456: String SVG_GLYPH_NAME_ATTRIBUTE = "glyph-name";
457: String SVG_GLYPH_REF_ATTRIBUTE = "glyphRef";
458: String SVG_GRADIENT_TRANSFORM_ATTRIBUTE = "gradientTransform";
459: String SVG_GRADIENT_UNITS_ATTRIBUTE = "gradientUnits";
460: String SVG_HANGING_ATTRIBUTE = "hanging";
461: String SVG_HEIGHT_ATTRIBUTE = "height";
462: String SVG_HORIZ_ADV_X_ATTRIBUTE = "horiz-adv-x";
463: String SVG_HORIZ_ORIGIN_X_ATTRIBUTE = "horiz-origin-x";
464: String SVG_HORIZ_ORIGIN_Y_ATTRIBUTE = "horiz-origin-y";
465: String SVG_HREF_ATTRIBUTE = "href";
466: String SVG_ID_ATTRIBUTE = "id";
467: String SVG_IDEOGRAPHIC_ATTRIBUTE = "ideographic";
468: String SVG_IMAGE_RENDERING_ATTRIBUTE = CSS_IMAGE_RENDERING_PROPERTY;
469: String SVG_IN2_ATTRIBUTE = "in2";
470: String SVG_INTERCEPT_ATTRIBUTE = "intercept";
471: String SVG_IN_ATTRIBUTE = "in";
472: String SVG_K_ATTRIBUTE = "k";
473: String SVG_K1_ATTRIBUTE = "k1";
474: String SVG_K2_ATTRIBUTE = "k2";
475: String SVG_K3_ATTRIBUTE = "k3";
476: String SVG_K4_ATTRIBUTE = "k4";
477: String SVG_KERNEL_MATRIX_ATTRIBUTE = "kernelMatrix";
478: String SVG_KERNEL_UNIT_LENGTH_ATTRIBUTE = "kernelUnitLength";
479: String SVG_KERNEL_UNIT_LENGTH_X_ATTRIBUTE = "kernelUnitLengthX";
480: String SVG_KERNEL_UNIT_LENGTH_Y_ATTRIBUTE = "kernelUnitLengthY";
481: String SVG_KERNING_ATTRIBUTE = CSS_KERNING_PROPERTY;
482: String SVG_LANG_ATTRIBUTE = "lang";
483: String SVG_LENGTH_ADJUST_ATTRIBUTE = "lengthAdjust";
484: String SVG_LIGHT_COLOR_ATTRIBUTE = "lightColor";
485: String SVG_LIMITING_CONE_ANGLE_ATTRIBUTE = "limitingConeAngle";
486: String SVG_LOCAL_ATTRIBUTE = "local";
487: String SVG_MARKER_HEIGHT_ATTRIBUTE = "markerHeight";
488: String SVG_MARKER_UNITS_ATTRIBUTE = "markerUnits";
489: String SVG_MARKER_WIDTH_ATTRIBUTE = "markerWidth";
490: String SVG_MASK_ATTRIBUTE = CSS_MASK_PROPERTY;
491: String SVG_MASK_CONTENT_UNITS_ATTRIBUTE = "maskContentUnits";
492: String SVG_MASK_UNITS_ATTRIBUTE = "maskUnits";
493: String SVG_MATHEMATICAL_ATTRIBUTE = "mathematical";
494: String SVG_MEDIA_ATTRIBUTE = "media";
495: String SVG_METHOD_ATTRIBUTE = "method";
496: String SVG_MODE_ATTRIBUTE = "mode";
497: String SVG_NAME_ATTRIBUTE = "name";
498: String SVG_NUM_OCTAVES_ATTRIBUTE = "numOctaves";
499: String SVG_OFFSET_ATTRIBUTE = "offset";
500: String SVG_OPACITY_ATTRIBUTE = CSS_OPACITY_PROPERTY;
501: String SVG_OPERATOR_ATTRIBUTE = "operator";
502: String SVG_ORDER_ATTRIBUTE = "order";
503: String SVG_ORDER_X_ATTRIBUTE = "orderX";
504: String SVG_ORDER_Y_ATTRIBUTE = "orderY";
505: String SVG_ORIENT_ATTRIBUTE = "orient";
506: String SVG_ORIENTATION_ATTRIBUTE = "orientation";
507: String SVG_OVERLINE_POSITION_ATTRIBUTE = "overline-position";
508: String SVG_OVERLINE_THICKNESS_ATTRIBUTE = "overline-thickness";
509: String SVG_PANOSE_1_ATTRIBUTE = "panose-1";
510: String SVG_PATTERN_CONTENT_UNITS_ATTRIBUTE = "patternContentUnits";
511: String SVG_PATTERN_TRANSFORM_ATTRIBUTE = "patternTransform";
512: String SVG_PATTERN_UNITS_ATTRIBUTE = "patternUnits";
513: String SVG_POINTS_ATTRIBUTE = "points";
514: String SVG_POINTS_AT_X_ATTRIBUTE = "pointsAtX";
515: String SVG_POINTS_AT_Y_ATTRIBUTE = "pointsAtY";
516: String SVG_POINTS_AT_Z_ATTRIBUTE = "pointsAtZ";
517: String SVG_PRESERVE_ALPHA_ATTRIBUTE = "preserveAlpha";
518: String SVG_PRESERVE_ASPECT_RATIO_ATTRIBUTE = "preserveAspectRatio";
519: String SVG_PRIMITIVE_UNITS_ATTRIBUTE = "primitiveUnits";
520: String SVG_RADIUS_ATTRIBUTE = "radius";
521: String SVG_REF_X_ATTRIBUTE = "refX";
522: String SVG_REF_Y_ATTRIBUTE = "refY";
523: String SVG_RENDERING_INTENT_ATTRIBUTE = "rendering-intent";
524: String SVG_REQUIRED_FEATURES_ATTRIBUTE = "requiredFeatures";
525: String SVG_REQUIRED_EXTENSIONS_ATTRIBUTE = "requiredExtensions";
526: String SVG_RESULT_ATTRIBUTE = "result";
527: String SVG_RESULT_SCALE_ATTRIBUTE = "resultScale";
528: String SVG_RX_ATTRIBUTE = "rx";
529: String SVG_RY_ATTRIBUTE = "ry";
530: String SVG_R_ATTRIBUTE = "r";
531: String SVG_ROTATE_ATTRIBUTE = "rotate";
532: String SVG_SCALE_ATTRIBUTE = "scale";
533: String SVG_SEED_ATTRIBUTE = "seed";
534: String SVG_SHAPE_RENDERING_ATTRIBUTE = CSS_SHAPE_RENDERING_PROPERTY;
535: String SVG_SLOPE_ATTRIBUTE = "slope";
536: String SVG_SPACE_ATTRIBUTE = "space";
537: String SVG_SPACING_ATTRIBUTE = "spacing";
538: String SVG_SPECULAR_CONSTANT_ATTRIBUTE = "specularConstant";
539: String SVG_SPECULAR_EXPONENT_ATTRIBUTE = "specularExponent";
540: String SVG_SPREAD_METHOD_ATTRIBUTE = "spreadMethod";
541: String SVG_START_OFFSET_ATTRIBUTE = "startOffset";
542: String SVG_STD_DEVIATION_ATTRIBUTE = "stdDeviation";
543: String SVG_STEMH_ATTRIBUTE = "stemh";
544: String SVG_STEMV_ATTRIBUTE = "stemv";
545: String SVG_STITCH_TILES_ATTRIBUTE = "stitchTiles";
546: String SVG_STOP_COLOR_ATTRIBUTE = "stop-color";
547: String SVG_STOP_OPACITY_ATTRIBUTE = CSS_STOP_OPACITY_PROPERTY;
548: String SVG_STRIKETHROUGH_POSITION_ATTRIBUTE = "strikethrough-position";
549: String SVG_STRIKETHROUGH_THICKNESS_ATTRIBUTE = "strikethrough-thickness";
550: String SVG_STROKE_ATTRIBUTE = CSS_STROKE_PROPERTY;
551: String SVG_STROKE_DASHARRAY_ATTRIBUTE = CSS_STROKE_DASHARRAY_PROPERTY;
552: String SVG_STROKE_DASHOFFSET_ATTRIBUTE = CSS_STROKE_DASHOFFSET_PROPERTY;
553: String SVG_STROKE_LINECAP_ATTRIBUTE = CSS_STROKE_LINECAP_PROPERTY;
554: String SVG_STROKE_LINEJOIN_ATTRIBUTE = CSS_STROKE_LINEJOIN_PROPERTY;
555: String SVG_STROKE_MITERLIMIT_ATTRIBUTE = CSS_STROKE_MITERLIMIT_PROPERTY;
556: String SVG_STROKE_OPACITY_ATTRIBUTE = CSS_STROKE_OPACITY_PROPERTY;
557: String SVG_STROKE_WIDTH_ATTRIBUTE = CSS_STROKE_WIDTH_PROPERTY;
558: String SVG_STYLE_ATTRIBUTE = "style";
559: String SVG_SURFACE_SCALE_ATTRIBUTE = "surfaceScale";
560: String SVG_SYSTEM_LANGUAGE_ATTRIBUTE = "systemLanguage";
561: String SVG_TABLE_ATTRIBUTE = "table";
562: String SVG_TABLE_VALUES_ATTRIBUTE = "tableValues";
563: String SVG_TARGET_ATTRIBUTE = "target";
564: String SVG_TARGET_X_ATTRIBUTE = "targetX";
565: String SVG_TARGET_Y_ATTRIBUTE = "targetY";
566: String SVG_TEXT_ANCHOR_ATTRIBUTE = CSS_TEXT_ANCHOR_PROPERTY;
567: String SVG_TEXT_LENGTH_ATTRIBUTE = "textLength";
568: String SVG_TEXT_RENDERING_ATTRIBUTE = CSS_TEXT_RENDERING_PROPERTY;
569: String SVG_TITLE_ATTRIBUTE = "title";
570: String SVG_TRANSFORM_ATTRIBUTE = "transform";
571: String SVG_TYPE_ATTRIBUTE = "type";
572: String SVG_U1_ATTRIBUTE = "u1";
573: String SVG_U2_ATTRIBUTE = "u2";
574: String SVG_UNDERLINE_POSITION_ATTRIBUTE = "underline-position";
575: String SVG_UNDERLINE_THICKNESS_ATTRIBUTE = "underline-thickness";
576: String SVG_UNICODE_ATTRIBUTE = "unicode";
577: String SVG_UNICODE_RANGE_ATTRIBUTE = "unicode-range";
578: String SVG_UNITS_PER_EM_ATTRIBUTE = "units-per-em";
579: String SVG_V_ALPHABETIC_ATTRIBUTE = "v-alphabetic";
580: String SVG_V_HANGING_ATTRIBUTE = "v-hanging";
581: String SVG_V_IDEOGRAPHIC_ATTRIBUTE = "v-ideographic";
582: String SVG_V_MATHEMATICAL_ATTRIBUTE = "v-mathematical";
583: String SVG_VALUES_ATTRIBUTE = "values";
584: String SVG_VERSION_ATTRIBUTE = "version";
585: String SVG_VERT_ADV_Y_ATTRIBUTE = "vert-adv-y";
586: String SVG_VERT_ORIGIN_X_ATTRIBUTE = "vert-origin-x";
587: String SVG_VERT_ORIGIN_Y_ATTRIBUTE = "vert-origin-y";
588: String SVG_VIEW_BOX_ATTRIBUTE = "viewBox";
589: String SVG_WIDTH_ATTRIBUTE = "width";
590: String SVG_WIDTHS_ATTRIBUTE = "widths";
591: String SVG_X1_ATTRIBUTE = "x1";
592: String SVG_X2_ATTRIBUTE = "x2";
593: String SVG_X_ATTRIBUTE = "x";
594: String SVG_X_CHANNEL_SELECTOR_ATTRIBUTE = "xChannelSelector";
595: String SVG_X_HEIGHT_ATTRIBUTE = "xHeight";
596: String SVG_Y1_ATTRIBUTE = "y1";
597: String SVG_Y2_ATTRIBUTE = "y2";
598: String SVG_Y_ATTRIBUTE = "y";
599: String SVG_Y_CHANNEL_SELECTOR_ATTRIBUTE = "yChannelSelector";
600: String SVG_Z_ATTRIBUTE = "z";
601: String SVG_ZOOM_AND_PAN_ATTRIBUTE = "zoomAndPan";
602:
603: /////////////////////////////////////////////////////////////////////////
604: // SVG attribute value
605: /////////////////////////////////////////////////////////////////////////
606:
607: String SVG_100_VALUE = "100";
608: String SVG_200_VALUE = "200";
609: String SVG_300_VALUE = "300";
610: String SVG_400_VALUE = "400";
611: String SVG_500_VALUE = "500";
612: String SVG_600_VALUE = "600";
613: String SVG_700_VALUE = "700";
614: String SVG_800_VALUE = "800";
615: String SVG_900_VALUE = "900";
616: String SVG_ABSOLUTE_COLORIMETRIC_VALUE = "absolute-colorimetric";
617: String SVG_ALIGN_VALUE = "align";
618: String SVG_ALL_VALUE = "all";
619: String SVG_ARITHMETIC_VALUE = "arithmetic";
620: String SVG_ATOP_VALUE = "atop";
621: String SVG_AUTO_VALUE = "auto";
622: String SVG_A_VALUE = "A";
623: String SVG_BACKGROUND_ALPHA_VALUE = "BackgroundAlpha";
624: String SVG_BACKGROUND_IMAGE_VALUE = "BackgroundImage";
625: String SVG_BEVEL_VALUE = "bevel";
626: String SVG_BOLDER_VALUE = "bolder";
627: String SVG_BOLD_VALUE = "bold";
628: String SVG_BUTT_VALUE = "butt";
629: String SVG_B_VALUE = "B";
630: String SVG_COMPOSITE_VALUE = "composite";
631: String SVG_CRISP_EDGES_VALUE = "crispEdges";
632: String SVG_CROSSHAIR_VALUE = "crosshair";
633: String SVG_DARKEN_VALUE = "darken";
634: String SVG_DEFAULT_VALUE = "default";
635: String SVG_DIGIT_ONE_VALUE = "1";
636: String SVG_DILATE_VALUE = "dilate";
637: String SVG_DISABLE_VALUE = "disable";
638: String SVG_DISCRETE_VALUE = "discrete";
639: String SVG_DUPLICATE_VALUE = "duplicate";
640: String SVG_END_VALUE = "end";
641: String SVG_ERODE_VALUE = "erode";
642: String SVG_EVEN_ODD_VALUE = "evenodd";
643: String SVG_EXACT_VALUE = "exact";
644: String SVG_E_RESIZE_VALUE = "e-resize";
645: String SVG_FALSE_VALUE = "false";
646: String SVG_FILL_PAINT_VALUE = "FillPaint";
647: String SVG_FLOOD_VALUE = "flood";
648: String SVG_FRACTAL_NOISE_VALUE = "fractalNoise";
649: String SVG_GAMMA_VALUE = "gamma";
650: String SVG_GEOMETRIC_PRECISION_VALUE = "geometricPrecision";
651: String SVG_G_VALUE = "G";
652: String SVG_HELP_VALUE = "help";
653: String SVG_HUE_ROTATE_VALUE = "hueRotate";
654: String SVG_HUNDRED_PERCENT_VALUE = "100%";
655: String SVG_H_VALUE = "h";
656: String SVG_IDENTITY_VALUE = "identity";
657: String SVG_INITIAL_VALUE = "initial";
658: String SVG_IN_VALUE = "in";
659: String SVG_ISOLATED_VALUE = "isolated";
660: String SVG_ITALIC_VALUE = "italic";
661: String SVG_LIGHTEN_VALUE = "lighten";
662: String SVG_LIGHTER_VALUE = "lighter";
663: String SVG_LINEAR_RGB_VALUE = "linearRGB";
664: String SVG_LINEAR_VALUE = "linear";
665: String SVG_LUMINANCE_TO_ALPHA_VALUE = "luminanceToAlpha";
666: String SVG_MAGNIFY_VALUE = "magnify";
667: String SVG_MATRIX_VALUE = "matrix";
668: String SVG_MEDIAL_VALUE = "medial";
669: String SVG_MIDDLE_VALUE = "middle";
670: String SVG_MITER_VALUE = "miter";
671: String SVG_MOVE_VALUE = "move";
672: String SVG_MULTIPLY_VALUE = "multiply";
673: String SVG_NEW_VALUE = "new";
674: String SVG_NE_RESIZE_VALUE = "ne-resize";
675: String SVG_NINETY_VALUE = "90";
676: String SVG_NONE_VALUE = "none";
677: String SVG_NON_ZERO_VALUE = "nonzero";
678: String SVG_NORMAL_VALUE = "normal";
679: String SVG_NO_STITCH_VALUE = "noStitch";
680: String SVG_NW_RESIZE_VALUE = "nw-resize";
681: String SVG_N_RESIZE_VALUE = "n-resize";
682: String SVG_OBJECT_BOUNDING_BOX_VALUE = "objectBoundingBox";
683: String SVG_OBLIQUE_VALUE = "oblique";
684: String SVG_ONE_VALUE = "1";
685: String SVG_OPAQUE_VALUE = "1";
686: String SVG_OPTIMIZE_LEGIBILITY_VALUE = "optimizeLegibility";
687: String SVG_OPTIMIZE_QUALITY_VALUE = "optimizeQuality";
688: String SVG_OPTIMIZE_SPEED_VALUE = "optimizeSpeed";
689: String SVG_OUT_VALUE = "out";
690: String SVG_OVER_VALUE = "over";
691: String SVG_PACED_VALUE = "paced";
692: String SVG_PAD_VALUE = "pad";
693: String SVG_PERCEPTUAL_VALUE = "perceptual";
694: String SVG_POINTER_VALUE = "pointer";
695: String SVG_PRESERVE_VALUE = "preserve";
696: String SVG_REFLECT_VALUE = "reflect";
697: String SVG_RELATIVE_COLORIMETRIC_VALUE = "relative-colorimetric";
698: String SVG_REPEAT_VALUE = "repeat";
699: String SVG_ROUND_VALUE = "round";
700: String SVG_R_VALUE = "R";
701: String SVG_SATURATE_VALUE = "saturate";
702: String SVG_SATURATION_VALUE = "saturation";
703: String SVG_SCREEN_VALUE = "screen";
704: String SVG_SE_RESIZE_VALUE = "se-resize";
705: String SVG_SOURCE_ALPHA_VALUE = "SourceAlpha";
706: String SVG_SOURCE_GRAPHIC_VALUE = "SourceGraphic";
707: String SVG_SPACING_AND_GLYPHS_VALUE = "spacingAndGlyphs";
708: String SVG_SPACING_VALUE = "spacing";
709: String SVG_SQUARE_VALUE = "square";
710: String SVG_SRGB_VALUE = "sRGB";
711: String SVG_START_VALUE = "start";
712: String SVG_STITCH_VALUE = "stitch";
713: String SVG_STRETCH_VALUE = "stretch";
714: String SVG_STROKE_PAINT_VALUE = "StrokePaint";
715: String SVG_STROKE_WIDTH_VALUE = "strokeWidth";
716: String SVG_SW_RESIZE_VALUE = "sw-resize";
717: String SVG_S_RESIZE_VALUE = "s-resize";
718: String SVG_TABLE_VALUE = "table";
719: String SVG_TERMINAL_VALUE = "terminal";
720: String SVG_TEXT_VALUE = "text";
721: String SVG_TRANSLATE_VALUE = "translate";
722: String SVG_TRUE_VALUE = "true";
723: String SVG_TURBULENCE_VALUE = "turbulence";
724: String SVG_USER_SPACE_ON_USE_VALUE = "userSpaceOnUse";
725: String SVG_V_VALUE = "v";
726: String SVG_WAIT_VALUE = "wait";
727: String SVG_WRAP_VALUE = "wrap";
728: String SVG_W_RESIZE_VALUE = "w-resize";
729: String SVG_XOR_VALUE = "xor";
730: String SVG_ZERO_PERCENT_VALUE = "0%";
731: String SVG_ZERO_VALUE = "0";
732:
733: ///////////////////////////////////////////////////////////////////
734: // default values for attributes
735: ///////////////////////////////////////////////////////////////////
736:
737: String SVG_CIRCLE_CX_DEFAULT_VALUE = "0";
738: String SVG_CIRCLE_CY_DEFAULT_VALUE = "0";
739: String SVG_CLIP_PATH_CLIP_PATH_UNITS_DEFAULT_VALUE = SVG_USER_SPACE_ON_USE_VALUE;
740: String SVG_COMPONENT_TRANSFER_FUNCTION_AMPLITUDE_DEFAULT_VALUE = "1";
741: String SVG_COMPONENT_TRANSFER_FUNCTION_EXPONENT_DEFAULT_VALUE = "1";
742: String SVG_COMPONENT_TRANSFER_FUNCTION_INTERCEPT_DEFAULT_VALUE = "0";
743: String SVG_COMPONENT_TRANSFER_FUNCTION_OFFSET_DEFAULT_VALUE = "0";
744: String SVG_COMPONENT_TRANSFER_FUNCTION_SLOPE_DEFAULT_VALUE = "1";
745: String SVG_COMPONENT_TRANSFER_FUNCTION_TABLE_VALUES_DEFAULT_VALUE = "";
746: String SVG_CURSOR_X_DEFAULT_VALUE = "0";
747: String SVG_CURSOR_Y_DEFAULT_VALUE = "0";
748: String SVG_ELLIPSE_CX_DEFAULT_VALUE = "0";
749: String SVG_ELLIPSE_CY_DEFAULT_VALUE = "0";
750: String SVG_FE_COMPOSITE_K1_DEFAULT_VALUE = "0";
751: String SVG_FE_COMPOSITE_K2_DEFAULT_VALUE = "0";
752: String SVG_FE_COMPOSITE_K3_DEFAULT_VALUE = "0";
753: String SVG_FE_COMPOSITE_K4_DEFAULT_VALUE = "0";
754: String SVG_FE_COMPOSITE_OPERATOR_DEFAULT_VALUE = SVG_OVER_VALUE;
755: String SVG_FE_CONVOLVE_MATRIX_EDGE_MODE_DEFAULT_VALUE = SVG_DUPLICATE_VALUE;
756: String SVG_FE_DIFFUSE_LIGHTING_DIFFUSE_CONSTANT_DEFAULT_VALUE = "1";
757: String SVG_FE_DIFFUSE_LIGHTING_SURFACE_SCALE_DEFAULT_VALUE = "1";
758: String SVG_FE_DISPLACEMENT_MAP_SCALE_DEFAULT_VALUE = "0";
759: String SVG_FE_DISTANT_LIGHT_AZIMUTH_DEFAULT_VALUE = "0";
760: String SVG_FE_DISTANT_LIGHT_ELEVATION_DEFAULT_VALUE = "0";
761: String SVG_FE_POINT_LIGHT_X_DEFAULT_VALUE = "0";
762: String SVG_FE_POINT_LIGHT_Y_DEFAULT_VALUE = "0";
763: String SVG_FE_POINT_LIGHT_Z_DEFAULT_VALUE = "0";
764: String SVG_FE_SPECULAR_LIGHTING_SPECULAR_CONSTANT_DEFAULT_VALUE = "1";
765: String SVG_FE_SPECULAR_LIGHTING_SPECULAR_EXPONENT_DEFAULT_VALUE = "1";
766: String SVG_FE_SPECULAR_LIGHTING_SURFACE_SCALE_DEFAULT_VALUE = "1";
767: String SVG_FE_SPOT_LIGHT_LIMITING_CONE_ANGLE_DEFAULT_VALUE = "90";
768: String SVG_FE_SPOT_LIGHT_POINTS_AT_X_DEFAULT_VALUE = "0";
769: String SVG_FE_SPOT_LIGHT_POINTS_AT_Y_DEFAULT_VALUE = "0";
770: String SVG_FE_SPOT_LIGHT_POINTS_AT_Z_DEFAULT_VALUE = "0";
771: String SVG_FE_SPOT_LIGHT_SPECULAR_EXPONENT_DEFAULT_VALUE = "1";
772: String SVG_FE_SPOT_LIGHT_X_DEFAULT_VALUE = "0";
773: String SVG_FE_SPOT_LIGHT_Y_DEFAULT_VALUE = "0";
774: String SVG_FE_SPOT_LIGHT_Z_DEFAULT_VALUE = "0";
775: String SVG_FE_TURBULENCE_NUM_OCTAVES_DEFAULT_VALUE = "1";
776: String SVG_FE_TURBULENCE_SEED_DEFAULT_VALUE = "0";
777: String SVG_FILTER_FILTER_UNITS_DEFAULT_VALUE = SVG_USER_SPACE_ON_USE_VALUE;
778: String SVG_FILTER_HEIGHT_DEFAULT_VALUE = "120%";
779: String SVG_FILTER_PRIMITIVE_X_DEFAULT_VALUE = "0%";
780: String SVG_FILTER_PRIMITIVE_Y_DEFAULT_VALUE = "0%";
781: String SVG_FILTER_PRIMITIVE_WIDTH_DEFAULT_VALUE = "100%";
782: String SVG_FILTER_PRIMITIVE_HEIGHT_DEFAULT_VALUE = "100%";
783: String SVG_FILTER_PRIMITIVE_UNITS_DEFAULT_VALUE = SVG_USER_SPACE_ON_USE_VALUE;
784: String SVG_FILTER_WIDTH_DEFAULT_VALUE = "120%";
785: String SVG_FILTER_X_DEFAULT_VALUE = "-10%";
786: String SVG_FILTER_Y_DEFAULT_VALUE = "-10%";
787: String SVG_FONT_FACE_FONT_STRETCH_DEFAULT_VALUE = SVG_NORMAL_VALUE;
788: String SVG_FONT_FACE_FONT_STYLE_DEFAULT_VALUE = SVG_ALL_VALUE;
789: String SVG_FONT_FACE_FONT_VARIANT_DEFAULT_VALUE = SVG_NORMAL_VALUE;
790: String SVG_FONT_FACE_FONT_WEIGHT_DEFAULT_VALUE = SVG_ALL_VALUE;
791: String SVG_FONT_FACE_PANOSE_1_DEFAULT_VALUE = "0 0 0 0 0 0 0 0 0 0";
792: String SVG_FONT_FACE_SLOPE_DEFAULT_VALUE = "0";
793: String SVG_FONT_FACE_UNITS_PER_EM_DEFAULT_VALUE = "1000";
794: String SVG_FOREIGN_OBJECT_X_DEFAULT_VALUE = "0";
795: String SVG_FOREIGN_OBJECT_Y_DEFAULT_VALUE = "0";
796: String SVG_HORIZ_ORIGIN_X_DEFAULT_VALUE = "0";
797: String SVG_HORIZ_ORIGIN_Y_DEFAULT_VALUE = "0";
798: String SVG_KERN_K_DEFAULT_VALUE = "0";
799: String SVG_IMAGE_X_DEFAULT_VALUE = "0";
800: String SVG_IMAGE_Y_DEFAULT_VALUE = "0";
801: String SVG_LINE_X1_DEFAULT_VALUE = "0";
802: String SVG_LINE_X2_DEFAULT_VALUE = "0";
803: String SVG_LINE_Y1_DEFAULT_VALUE = "0";
804: String SVG_LINE_Y2_DEFAULT_VALUE = "0";
805: String SVG_LINEAR_GRADIENT_X1_DEFAULT_VALUE = "0%";
806: String SVG_LINEAR_GRADIENT_X2_DEFAULT_VALUE = "100%";
807: String SVG_LINEAR_GRADIENT_Y1_DEFAULT_VALUE = "0%";
808: String SVG_LINEAR_GRADIENT_Y2_DEFAULT_VALUE = "0%";
809: String SVG_MARKER_MARKER_HEIGHT_DEFAULT_VALUE = "3";
810: String SVG_MARKER_MARKER_UNITS_DEFAULT_VALUE = SVG_STROKE_WIDTH_VALUE;
811: String SVG_MARKER_MARKER_WIDTH_DEFAULT_VALUE = "3";
812: String SVG_MARKER_ORIENT_DEFAULT_VALUE = "0";
813: String SVG_MARKER_REF_X_DEFAULT_VALUE = "0";
814: String SVG_MARKER_REF_Y_DEFAULT_VALUE = "0";
815: String SVG_MASK_HEIGHT_DEFAULT_VALUE = "120%";
816: String SVG_MASK_MASK_UNITS_DEFAULT_VALUE = SVG_USER_SPACE_ON_USE_VALUE;
817: String SVG_MASK_WIDTH_DEFAULT_VALUE = "120%";
818: String SVG_MASK_X_DEFAULT_VALUE = "-10%";
819: String SVG_MASK_Y_DEFAULT_VALUE = "-10%";
820: String SVG_PATTERN_X_DEFAULT_VALUE = "0";
821: String SVG_PATTERN_Y_DEFAULT_VALUE = "0";
822: String SVG_PATTERN_WIDTH_DEFAULT_VALUE = "0";
823: String SVG_PATTERN_HEIGHT_DEFAULT_VALUE = "0";
824: String SVG_RADIAL_GRADIENT_CX_DEFAULT_VALUE = "50%";
825: String SVG_RADIAL_GRADIENT_CY_DEFAULT_VALUE = "50%";
826: String SVG_RADIAL_GRADIENT_R_DEFAULT_VALUE = "50%";
827: String SVG_RECT_X_DEFAULT_VALUE = "0";
828: String SVG_RECT_Y_DEFAULT_VALUE = "0";
829: String SVG_SCRIPT_TYPE_ECMASCRIPT = "text/ecmascript";
830: String SVG_SCRIPT_TYPE_DEFAULT_VALUE = SVG_SCRIPT_TYPE_ECMASCRIPT;
831: String SVG_SCRIPT_TYPE_JAVA = "application/java-archive";
832: String SVG_SVG_X_DEFAULT_VALUE = "0";
833: String SVG_SVG_Y_DEFAULT_VALUE = "0";
834: String SVG_SVG_HEIGHT_DEFAULT_VALUE = "100%";
835: String SVG_SVG_WIDTH_DEFAULT_VALUE = "100%";
836: String SVG_TEXT_PATH_START_OFFSET_DEFAULT_VALUE = "0";
837: String SVG_USE_X_DEFAULT_VALUE = "0";
838: String SVG_USE_Y_DEFAULT_VALUE = "0";
839: String SVG_USE_WIDTH_DEFAULT_VALUE = "100%";
840: String SVG_USE_HEIGHT_DEFAULT_VALUE = "100%";
841:
842: ///////////////////////////////////////////////////////////////////
843: // various constants in SVG attributes
844: ///////////////////////////////////////////////////////////////////
845:
846: String TRANSFORM_TRANSLATE = "translate";
847: String TRANSFORM_ROTATE = "rotate";
848: String TRANSFORM_SCALE = "scale";
849: String TRANSFORM_SKEWX = "skewX";
850: String TRANSFORM_SKEWY = "skewY";
851: String TRANSFORM_MATRIX = "matrix";
852:
853: String PATH_CLOSE = "Z";
854: String PATH_CUBIC_TO = "C";
855: String PATH_MOVE = "M";
856: String PATH_LINE_TO = "L";
857: String PATH_VERTICAL_LINE_TO = "V";
858: String PATH_HORIZONTAL_LINE_TO = "H";
859: String PATH_QUAD_TO = "Q";
860: String PATH_SMOOTH_QUAD_TO = "T";
861:
862: ///////////////////////////////////////////////////////////////////
863: // event constants
864: ///////////////////////////////////////////////////////////////////
865:
866: String SVG_EVENT_CLICK = "click";
867: String SVG_EVENT_KEYDOWN = "keydown";
868: String SVG_EVENT_KEYPRESS = "keypress";
869: String SVG_EVENT_KEYUP = "keyup";
870: String SVG_EVENT_MOUSEDOWN = "mousedown";
871: String SVG_EVENT_MOUSEMOVE = "mousemove";
872: String SVG_EVENT_MOUSEOUT = "mouseout";
873: String SVG_EVENT_MOUSEOVER = "mouseover";
874: String SVG_EVENT_MOUSEUP = "mouseup";
875: }
|