FreeHEP API
Version current

org.freehep.graphics2d
Interface VectorGraphicsConstants

All Known Implementing Classes:
MarkerSelector, VectorGraphics

public interface VectorGraphicsConstants

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

Version:
$Id: VectorGraphicsConstants.java,v 1.3 2003/03/07 20:16:55 duns Exp $
Author:
Charles Loomis
Source Code:
VectorGraphicsConstants.java

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

public static final int SYMBOL_VLINE
Vertical line (|) symbol.

See Also:
Constant Field Values

SYMBOL_HLINE

public static final int SYMBOL_HLINE
Horizontal line (-) symbol.

See Also:
Constant Field Values

SYMBOL_PLUS

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

See Also:
Constant Field Values

SYMBOL_CROSS

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

See Also:
Constant Field Values

SYMBOL_STAR

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

See Also:
Constant Field Values

SYMBOL_CIRCLE

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

See Also:
Constant Field Values

SYMBOL_BOX

public static final int SYMBOL_BOX
An open square symbol.

See Also:
Constant Field Values

SYMBOL_UP_TRIANGLE

public static final int SYMBOL_UP_TRIANGLE
An open equilateral triangle pointing up.

See Also:
Constant Field Values

SYMBOL_DN_TRIANGLE

public static final int SYMBOL_DN_TRIANGLE
An open equilateral triangle pointing down.

See Also:
Constant Field Values

SYMBOL_DIAMOND

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

See Also:
Constant Field Values

NUMBER_OF_SYMBOLS

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.