Packages

 

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

Class EmfPlusSetClipRect

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


    public final class EmfPlusSetClipRect
    extends EmfPlusClippingRecordType

    The EmfPlusSetClipRect record combines the current clipping region with a rectangle.

    • Constructor Detail

      • EmfPlusSetClipRect

        public EmfPlusSetClipRect(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusSetClipRect class.

        Parameters:
        source - The source.
    • Method Detail

      • getCm

        public byte getCm()

        Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions. See the CombineMode enumeration (section 2.1.1.4) for the meanings of the values.

        Value: The cm.
      • setCm

        public void setCm(byte value)

        Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions. See the CombineMode enumeration (section 2.1.1.4) for the meanings of the values.

        Value: The cm.
      • getClipRect

        public RectangleF getClipRect()

        Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to use in the CombineMode operation.

      • setClipRect

        public void setClipRect(RectangleF value)

        Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to use in the CombineMode operation.