1 18 19 package org.apache.batik.gvt.flow; 20 21 import java.awt.Shape ; 22 23 29 public class RegionInfo 30 { 31 private Shape shape; 32 private float verticalAlignment = 0.0f; 33 34 public RegionInfo(Shape s, float verticalAlignment) { 35 this.shape = s; 36 this.verticalAlignment = verticalAlignment; 37 } 38 39 public Shape getShape() { 40 return shape; 41 } 42 43 public void setShape(Shape s) { 44 this.shape = s; 45 } 46 47 52 public float getVerticalAlignment() { 53 return verticalAlignment; 54 } 55 56 61 public void setVerticalAlignment(float verticalAlignment) { 62 this.verticalAlignment = verticalAlignment; 63 } 64 } 65 | Popular Tags |