org.freehep.graphics2d
Interface VectorGraphicsConstants

All Known Implementing Classes:
AbstractVectorGraphics, AbstractVectorGraphicsIO, DummyGraphics2D, EMFGraphics2D, GIFGraphics2D, ImageGraphics2D, JAVAGraphics2D, PDFGraphics2D, PixelGraphics2D, PSGraphics2D, SVGGraphics2D, SWFGraphics2D, TestAll, TestPerformance, TestPreviewThumbnail, TestSymbols2D, VectorGraphics, VectorGraphicsIO

public interface VectorGraphicsConstants

This interface defines useful constants for users of the VectorGraphics interface.

Version:
$Id: VectorGraphicsConstants.java 8584 2006-08-10 23:06:37Z duns $
Author:
Charles Loomis

Field Summary
static int NUMBER_OF_HORIZ_ALIGNMENTS
          Constant indicating the maximum number of horizontal alignments.
static int NUMBER_OF_SYMBOLS
          The number of defined symbols.
static int NUMBER_OF_VERTICAL_ALIGNMENTS
          Constant indicating the maximum number of vertical alignments.
static int SYMBOL_BOX
          An open square symbol.
static int SYMBOL_CIRCLE
          An open circle (o) symbol.
static int SYMBOL_CROSS
          An x-shaped (x) symbol.
static int SYMBOL_DIAMOND
          An open square symbol rotated by 45 degrees.
static int SYMBOL_DN_TRIANGLE
          An open equilateral triangle pointing down.
static int SYMBOL_HLINE
          Horizontal line (-) symbol.
static int SYMBOL_PLUS
          Plus-shaped (+) symbol.
static int SYMBOL_STAR
          An eight-point star created by combining the plus and cross symbols.
static int SYMBOL_UP_TRIANGLE
          An open equilateral triangle pointing up.
static int SYMBOL_VLINE
          Vertical line (|) symbol.
static int TEXT_BASELINE
          Constant indicating that a string should be aligned vertically with the baseline of the text.
static int TEXT_BOTTOM
          Constant indicating that a string should be aligned vertically with the bottom of the text.
static int TEXT_CENTER
          Constant indicating that a string should be aligned by the center.
static int TEXT_LEFT
          Constant indicating that a string should be aligned horizontally with the left side of the text.
static int TEXT_RIGHT
          Constant indicating that the string should be aligned horizontally with the right side of the text.
static int TEXT_TOP
          Constant indicating that a string should be aligned vertically with the top of the text.
 

Field Detail

SYMBOL_VLINE

static final int SYMBOL_VLINE
Vertical line (|) symbol.

See Also:
Constant Field Values

SYMBOL_HLINE

static final int SYMBOL_HLINE
Horizontal line (-) symbol.

See Also:
Constant Field Values

SYMBOL_PLUS

static final int SYMBOL_PLUS
Plus-shaped (+) symbol.

See Also:
Constant Field Values

SYMBOL_CROSS

static final int SYMBOL_CROSS
An x-shaped (x) symbol.

See Also:
Constant Field Values

SYMBOL_STAR

static final int SYMBOL_STAR
An eight-point star created by combining the plus and cross symbols.

See Also:
Constant Field Values

SYMBOL_CIRCLE

static final int SYMBOL_CIRCLE
An open circle (o) symbol.

See Also:
Constant Field Values

SYMBOL_BOX

static final int SYMBOL_BOX
An open square symbol.

See Also:
Constant Field Values

SYMBOL_UP_TRIANGLE

static final int SYMBOL_UP_TRIANGLE
An open equilateral triangle pointing up.

See Also:
Constant Field Values

SYMBOL_DN_TRIANGLE

static final int SYMBOL_DN_TRIANGLE
An open equilateral triangle pointing down.

See Also:
Constant Field Values

SYMBOL_DIAMOND

static final int SYMBOL_DIAMOND
An open square symbol rotated by 45 degrees.

See Also:
Constant Field Values

NUMBER_OF_SYMBOLS

static final int NUMBER_OF_SYMBOLS
The number of defined symbols. Used in implementations of the VectorGraphics interfaces.

See Also:
Constant Field Values

TEXT_BASELINE

static final int TEXT_BASELINE
Constant indicating that a string should be aligned vertically with the baseline of the text. This is the default in drawString calls which do not specify an alignment.

See Also:
Constant Field Values

TEXT_TOP

static final int TEXT_TOP
Constant indicating that a string should be aligned vertically with the top of the text.

See Also:
Constant Field Values

TEXT_BOTTOM

static final int TEXT_BOTTOM
Constant indicating that a string should be aligned vertically with the bottom of the text.

See Also:
Constant Field Values

TEXT_CENTER

static final int TEXT_CENTER
Constant indicating that a string should be aligned by the center. This is used for both horizontal and vertical alignment.

See Also:
Constant Field Values

TEXT_LEFT

static final int TEXT_LEFT
Constant indicating that a string should be aligned horizontally with the left side of the text. This is the default for drawString calls which do not specify an alignment.

See Also:
Constant Field Values

TEXT_RIGHT

static final int TEXT_RIGHT
Constant indicating that the string should be aligned horizontally with the right side of the text.

See Also:
Constant Field Values

NUMBER_OF_VERTICAL_ALIGNMENTS

static final int NUMBER_OF_VERTICAL_ALIGNMENTS
Constant indicating the maximum number of vertical alignments. Used in implementation of the VectorGraphics interfaces.

See Also:
Constant Field Values

NUMBER_OF_HORIZ_ALIGNMENTS

static final int NUMBER_OF_HORIZ_ALIGNMENTS
Constant indicating the maximum number of horizontal alignments. Used in implementation of the VectorGraphics interfaces.

See Also:
Constant Field Values


Copyright © 2000-2007 FreeHEP. All Rights Reserved.