org.apache.batik.parser
Interface Length


public interface Length

This interface represents objects which hold informations about SVG lengths.


Field Summary
static int CM
          To represent an length in centimeters.
static int EM
          To represent an length in ems.
static int EX
          To represent an length in exs.
static int IN
          To represent an length in inches.
static int MM
          To represent an length in millimeters.
static int PC
          To represent an length in picas.
static int PERCENTAGE
          To represent an length in percentage.
static int PT
          To represent an length in points.
static int PX
          To represent an length in pixels.
 
Method Summary
 int getType()
          Returns this length type.
 float getValue()
          Returns this length value.
 

Field Detail

CM

public static final int CM
To represent an length in centimeters.

EM

public static final int EM
To represent an length in ems.

EX

public static final int EX
To represent an length in exs.

IN

public static final int IN
To represent an length in inches.

MM

public static final int MM
To represent an length in millimeters.

PC

public static final int PC
To represent an length in picas.

PT

public static final int PT
To represent an length in points.

PX

public static final int PX
To represent an length in pixels.

PERCENTAGE

public static final int PERCENTAGE
To represent an length in percentage.
Method Detail

getType

public int getType()
Returns this length type.

getValue

public float getValue()
Returns this length value.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.