Package boofcv.generate
Class PaperSize
java.lang.Object
boofcv.generate.PaperSize
Used to specify the size of different standard pieces of paper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic PaperSizestatic PaperSizestatic PaperSizestatic PaperSizestatic PaperSizestatic PaperSizedoubleLength of the document along y-axisstatic PaperSizestatic PaperSizeWhat the name of this document isUnits the size is specified indoubleLength of the document along x-axis -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleconvertHeight(Unit outputUnit) Returns the document's height in the specified unitsdoubleconvertWidth(Unit outputUnit) Returns the document's width in the specified unitsstatic @Nullable PaperSizeSees if the specified string matches any of the document's name.toString()values()
-
Field Details
-
FIT_CONTENT
-
A0
-
A1
-
A2
-
A3
-
A4
-
LEGAL
-
LETTER
-
name
What the name of this document is -
unit
Units the size is specified in -
width
public double widthLength of the document along x-axis -
height
public double heightLength of the document along y-axis
-
-
Constructor Details
-
PaperSize
-
PaperSize
-
-
Method Details