Uses of Class
java.awt.PageAttributes.OriginType
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
-
Uses of PageAttributes.OriginType in java.awt
Modifier and TypeFieldDescriptionstatic PageAttributes.OriginType
PageAttributes.OriginType.PHYSICAL
The OriginType instance to use for specifying a physical origin.static PageAttributes.OriginType
PageAttributes.OriginType.PRINTABLE
The OriginType instance to use for specifying a printable origin.Modifier and TypeMethodDescriptionPageAttributes.getOrigin()
Returns whether drawing at (0, 0) to pages using these attributes draws at the upper-left corner of the physical page, or at the upper-left corner of the printable area.Modifier and TypeMethodDescriptionvoid
PageAttributes.setOrigin(PageAttributes.OriginType origin)
Specifies whether drawing at (0, 0) to pages using these attributes draws at the upper-left corner of the physical page, or at the upper-left corner of the printable area.ModifierConstructorDescriptionPageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)
Constructs a PageAttributes instance with the specified values for every attribute.