| 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 duplex 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.
If you do not specify a duplex mode, the default
DUPLEX_MODE_NONE will be used.
Sets the color mode.
| colorMode | A valid color mode or zero. |
|---|
Sets the duplex mode.
| duplexMode | A valid duplex 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. |
|---|