| java.lang.Object | |
| ↳ | android.print.PrintAttributes.Builder |
Builder for creating
PrintAttributes
.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Creates a new
PrintAttributes
instance.
|
||||||||||
|
|
Sets the color mode.
|
||||||||||
|
|
Sets the media size.
|
||||||||||
|
|
Sets the minimal margins.
|
||||||||||
|
|
Sets the resolution.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
Creates a new
PrintAttributes
instance.
Sets the color mode.
| colorMode | A valid color mode or zero. |
|---|
Sets the media size.
| mediaSize | The media size. |
|---|
Sets the minimal margins. If the content does not fit these margins it will be clipped.
| margins | The margins. |
|---|
Sets the resolution.
| resolution | The resolution. |
|---|