java.lang.Object
java.lang.Enum<PaintHandlerInterface.PaintOption>
omix.plugin.paint.PaintHandlerInterface.PaintOption
- All Implemented Interfaces:
Serializable
,Comparable<PaintHandlerInterface.PaintOption>
,Constable
- Enclosing interface:
- PaintHandlerInterface
public static enum PaintHandlerInterface.PaintOption extends Enum<PaintHandlerInterface.PaintOption>
Options of a PaintDevice
- Since:
- Omix 1.3.11
- Author:
- Dr. Peter Droste, Omix Visualization
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AntiAliasing
Anti-aliasingCompressionRatio
If a file format supports compression the methodPaintDeviceInterface.setCompression(int)
can be used to compress the image file.Description
If a file format supports description the methodPaintDeviceInterface.setText(String, String)
can be used to insert text details.FramesPerSecond
Ability to specify a video's frames per secondGamma
If a file format supports gamma the methodPaintDeviceInterface.setGamma(float)
can be used to set the gamma value of the image file.ImageFormat
If a given file format is an image format.InfiniteLoop
Ability to specify if an animation is loopedName
Page
If an image format is a page oriented file format like PDF.Quality
If a file format supports quality the methodPaintDeviceInterface.setQuality(int)
can be used to set the quality of the image file.SubType
Transparency
If an image or video format supports transparency.VideoFormat
If a given file format is a video format. -
Method Summary
Modifier and Type Method Description static PaintHandlerInterface.PaintOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaintHandlerInterface.PaintOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Transparency
If an image or video format supports transparency. -
Page
If an image format is a page oriented file format like PDF. This option strictly requires a QPrinter provided by thePaintHandlerInterface
instance inPaintHandlerInterface.getPaintDevice(URLConnection, QSize, QColor)
. -
ImageFormat
If a given file format is an image format. -
VideoFormat
If a given file format is a video format. This option strictly requires an instance of MoviePaintDeviceInterface provided by thePaintHandlerInterface
instance inPaintHandlerInterface.getPaintDevice(URLConnection, QSize, QColor)
. -
Description
If a file format supports description the methodPaintDeviceInterface.setText(String, String)
can be used to insert text details.- See Also:
QImageIOHandler.ImageOption.Description
-
CompressionRatio
If a file format supports compression the methodPaintDeviceInterface.setCompression(int)
can be used to compress the image file. -
Gamma
If a file format supports gamma the methodPaintDeviceInterface.setGamma(float)
can be used to set the gamma value of the image file.- See Also:
QImageIOHandler.ImageOption.Gamma
-
Quality
If a file format supports quality the methodPaintDeviceInterface.setQuality(int)
can be used to set the quality of the image file.- See Also:
QImageIOHandler.ImageOption.Quality
-
Name
- See Also:
QImageIOHandler.ImageOption.Name
-
SubType
- See Also:
QImageIOHandler.ImageOption.SubType
-
AntiAliasing
Anti-aliasing -
FramesPerSecond
Ability to specify a video's frames per second -
InfiniteLoop
Ability to specify if an animation is looped
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-