File: SVGPreserveAspectRatio.java

package info (click to toggle)
xml-commons-external 1.4.01-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,484 kB
  • sloc: java: 12,856; xml: 72; makefile: 16
file content (30 lines) | stat: -rw-r--r-- 1,327 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

package org.w3c.dom.svg;

import org.w3c.dom.DOMException;

public interface SVGPreserveAspectRatio {
  // Alignment Types
  public static final short SVG_PRESERVEASPECTRATIO_UNKNOWN   = 0;
  public static final short SVG_PRESERVEASPECTRATIO_NONE     = 1;
  public static final short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
  public static final short SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
  public static final short SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
  public static final short SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
  public static final short SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
  public static final short SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
  public static final short SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
  public static final short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
  public static final short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
  // Meet-or-slice Types
  public static final short SVG_MEETORSLICE_UNKNOWN   = 0;
  public static final short SVG_MEETORSLICE_MEET  = 1;
  public static final short SVG_MEETORSLICE_SLICE = 2;

  public short getAlign( );
  public void      setAlign( short align )
                       throws DOMException;
  public short getMeetOrSlice( );
  public void      setMeetOrSlice( short meetOrSlice )
                       throws DOMException;
}