001package armyc2.c5isr.renderer.utilities; 002 003import android.graphics.Point; 004import android.graphics.Rect; 005 006 007public interface SymbolDimensionInfo { 008 009 010 /** 011 * The x value the image should be centered on or the "anchor point". 012 * @return {@link Integer} 013 */ 014 public int getCenterX(); 015 016 /** 017 * The y value the image should be centered on or the "anchor point". 018 * @return {@link Integer} 019 */ 020 public int getCenterY(); 021 022 /** 023 * The point the image should be centered on or the "anchor point". 024 * @return {@link Point} 025 */ 026 public Point getCenterPoint(); 027 028 /** 029 * minimum bounding rectangle for the core symbol. Does 030 * not include modifiers, display or otherwise. 031 * @return {@link Rect} 032 */ 033 public Rect getSymbolBounds(); 034 035 /** 036 * Dimension of the entire image. 037 * @return {@link Rect} 038 */ 039 040 public Rect getImageBounds(); 041}