Package boofcv.generate
Class PaperSize
java.lang.Object
boofcv.generate.PaperSize
Used to specify the size of different standard pieces of paper
-
Field Summary
Modifier and TypeFieldDescriptionstatic PaperSize
static PaperSize
static PaperSize
static PaperSize
static PaperSize
static PaperSize
double
Length of the document along y-axisstatic PaperSize
static PaperSize
What the name of this document isUnits the size is specified indouble
Length of the document along x-axis -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
convertHeight
(Unit outputUnit) Returns the document's height in the specified unitsdouble
convertWidth
(Unit outputUnit) Returns the document's width in the specified unitsstatic @Nullable PaperSize
Sees 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