double function ( double arg0 ) { switch ( units ) { case POINT : return ( int ) ( arg0 + 0.5 ) ; case INCH : return ( int ) ( ( arg0 * 72 ) + 0.5 ) ; case MM : return ( int ) ( ( ( arg0 * 72 ) / 25.4 ) + 0.5 ) ; } return arg0 ; }
translate the internally stored dimension into points . concode_field_sep Paper A2 concode_elem_sep Paper LEGAL concode_elem_sep Paper A5 concode_elem_sep Paper JIS_B4 concode_elem_sep Paper A1 concode_elem_sep Paper NA_NUMBER_10_ENVELOPE concode_elem_sep Paper A0 concode_elem_sep Paper A4 concode_elem_sep Paper DESIGNATED_LONG concode_elem_sep Paper EXECUTIVE concode_elem_sep Units units concode_elem_sep Paper A3 concode_elem_sep Paper C concode_elem_sep Paper MONARCH_ENVELOPE concode_elem_sep Paper JAPANESE_POSTCARD concode_elem_sep Paper TABLOID concode_elem_sep Paper JIS_B6 concode_elem_sep String name concode_elem_sep double width concode_elem_sep Paper NA_8X10 concode_elem_sep Paper A6 concode_elem_sep Paper JIS_B5 concode_elem_sep Paper NA_LETTER concode_elem_sep double height concode_field_sep double getHeight concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep double getWidth