KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > svg > SVGPreserveAspectRatio


1
2 package org.w3c.dom.svg;
3
4 import org.w3c.dom.DOMException JavaDoc;
5
6 public interface SVGPreserveAspectRatio {
7   // Alignment Types
8
public static final short SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
9   public static final short SVG_PRESERVEASPECTRATIO_NONE = 1;
10   public static final short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
11   public static final short SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
12   public static final short SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
13   public static final short SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
14   public static final short SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
15   public static final short SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
16   public static final short SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
17   public static final short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
18   public static final short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
19   // Meet-or-slice Types
20
public static final short SVG_MEETORSLICE_UNKNOWN = 0;
21   public static final short SVG_MEETORSLICE_MEET = 1;
22   public static final short SVG_MEETORSLICE_SLICE = 2;
23
24   public short getAlign( );
25   public void setAlign( short align )
26                        throws DOMException JavaDoc;
27   public short getMeetOrSlice( );
28   public void setMeetOrSlice( short meetOrSlice )
29                        throws DOMException JavaDoc;
30 }
31
Popular Tags