org.apache.batik.parser
Interface PreserveAspectRatio


public interface PreserveAspectRatio

This interface represents objects which hold informations about SVG preserveAspectRatio attribute value.


Field Summary
static int MEET
          To represent the 'meet' value.
static int NONE
          To represent the 'none' alignment.
static int SLICE
          To represent the 'slice' value.
static int XMAXYMAX
          To represent the 'xMaxYMax' alignment.
static int XMAXYMID
          To represent the 'xMaxYMid' alignment.
static int XMAXYMIN
          To represent the 'xMaxYMin' alignment.
static int XMIDYMAX
          To represent the 'xMidYMax' alignment.
static int XMIDYMID
          To represent the 'xMidYMid' alignment.
static int XMIDYMIN
          To represent the 'xMidYMin' alignment.
static int XMINYMAX
          To represent the 'xMinYMax' alignment.
static int XMINYMID
          To represent the 'xMinYMid' alignment.
static int XMINYMIN
          To represent the 'xMinYMin' alignment.
 
Method Summary
 int getAlign()
          Returns the align value of the represented attribute.
 int getMeetOrSlice()
          Returns the meet or slice value of the represented attribute.
 

Field Detail

NONE

public static final int NONE
To represent the 'none' alignment.

XMINYMIN

public static final int XMINYMIN
To represent the 'xMinYMin' alignment.

XMIDYMIN

public static final int XMIDYMIN
To represent the 'xMidYMin' alignment.

XMAXYMIN

public static final int XMAXYMIN
To represent the 'xMaxYMin' alignment.

XMINYMID

public static final int XMINYMID
To represent the 'xMinYMid' alignment.

XMIDYMID

public static final int XMIDYMID
To represent the 'xMidYMid' alignment.

XMAXYMID

public static final int XMAXYMID
To represent the 'xMaxYMid' alignment.

XMINYMAX

public static final int XMINYMAX
To represent the 'xMinYMax' alignment.

XMIDYMAX

public static final int XMIDYMAX
To represent the 'xMidYMax' alignment.

XMAXYMAX

public static final int XMAXYMAX
To represent the 'xMaxYMax' alignment.

MEET

public static final int MEET
To represent the 'meet' value.

SLICE

public static final int SLICE
To represent the 'slice' value.
Method Detail

getAlign

public int getAlign()
Returns the align value of the represented attribute.

getMeetOrSlice

public int getMeetOrSlice()
Returns the meet or slice value of the represented attribute.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.