Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfSetColorAdjustment

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfSetColorAdjustment
    extends EmfStateRecordType

    The EMR_SETCOLORADJUSTMENT record specifies color adjustment properties in the playback device context.

    Color adjustment values are used to adjust the input color of the source bitmap for graphics operations performed by EMR_STRETCHBLT and EMR_STRETCHDIBITS records when STRETCH_HALFTONE mode is set from the StretchMode enumeration (section 2.1.32). The ColorAdjustment object specified by this record MUST be used in graphics operations that require a ColorAdjustment object, until a different ColorAdjustment object is specified by another EMR_SETCOLORADJUSTMENT record, or until the object is removed by a EMR_DELETEOBJECT record.

    • Constructor Detail

      • EmfSetColorAdjustment

        public EmfSetColorAdjustment(EmfRecord source)

        Initializes a new instance of the EmfSetColorAdjustment class.

        Parameters:
        source - The source.
    • Method Detail

      • getColorAdjustment

        public EmfColorAdjustment getColorAdjustment()

        Gets or sets a ColorAdjustment object (section 2.2.2) that specifies color adjustment values.

      • setColorAdjustment

        public void setColorAdjustment(EmfColorAdjustment value)

        Gets or sets a ColorAdjustment object (section 2.2.2) that specifies color adjustment values.