android.print.PrintAttributes.Margins
E745339
android.print.PrintAttributes.Margins is an Android framework class that defines the printable area’s margins for print jobs, specifying how far content is inset from the edges of the page.
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf |
Android framework class
ⓘ
java.lang.Object subclass ⓘ |
| affects |
layout of printed pages
ⓘ
printable content area size ⓘ |
| belongsToFeature | Android printing framework NERFINISHED ⓘ |
| category | printing API ⓘ |
| constructor | Margins(int leftMils, int topMils, int rightMils, int bottomMils) ⓘ |
| controls |
bottom page margin
ⓘ
left page margin ⓘ right page margin ⓘ top page margin ⓘ |
| dataTypeOfFields | 32-bit signed integer ⓘ |
| definedIn |
Android SDK
NERFINISHED
ⓘ
android.print.PrintAttributes.java ⓘ |
| field |
int bottomMils
ⓘ
int leftMils ⓘ int rightMils ⓘ int topMils ⓘ |
| isImmutable | true ⓘ |
| isInnerClassOf | android.print.PrintAttributes NERFINISHED ⓘ |
| isParcelable | false ⓘ |
| isSerializable | false ⓘ |
| isValueType | true ⓘ |
| libraryType | Android framework core library ⓘ |
| method |
String toString()
ⓘ
boolean equals(Object obj) ⓘ int getBottomMils() ⓘ int getLeftMils() ⓘ int getRightMils() ⓘ int getTopMils() ⓘ int hashCode() ⓘ |
| package | android.print ⓘ |
| platform | Android ⓘ |
| purpose |
represents printable area margins for a print job
ⓘ
specifies how far content is inset from the edges of the page ⓘ |
| relatedTo | android.print.PrintAttributes ⓘ |
| since |
API level 19
ⓘ
Android 4.4 ⓘ |
| threadSafety | thread-safe if not modified after construction ⓘ |
| unitDescription | one mil equals one thousandth of an inch ⓘ |
| unitOfMeasurement | mils ⓘ |
| usedBy |
android.print.PrintAttributes#getMinMargins()
ⓘ
android.print.PrintAttributes.Builder#setMinMargins(android.print.PrintAttributes.Margins) ⓘ |
| usedFor |
configuring print job layout
ⓘ
describing page margins in print attributes ⓘ |
| visibility | public ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.