Packages

 

com.aspose.imaging.fileformats.emf.emfplus.objects

Classes

com.aspose.imaging.fileformats.emf.emfplus.objects

Class EmfPlusImageAttributes

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusImageAttributes
    extends EmfPlusGraphicsObjectType

    The EmfPlusImageAttributes object specifies how bitmap image colors are manipulated during rendering.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getClampArgb32Color()
      Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp.
      int getObjectClamp()
      Gets or sets 32-bit signed integer that specifies the object clamping behavior.
      int getWrapMode()
      Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).
      void setClampArgb32Color(int value)
      Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp.
      void setObjectClamp(int value)
      Gets or sets 32-bit signed integer that specifies the object clamping behavior.
      void setWrapMode(int value)
      Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).
    • Constructor Detail

      • EmfPlusImageAttributes

        public EmfPlusImageAttributes()
    • Method Detail

      • getWrapMode

        public int getWrapMode()

        Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).

      • setWrapMode

        public void setWrapMode(int value)

        Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).

      • getClampArgb32Color

        public int getClampArgb32Color()

        Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp. This color is visible when the source rectangle processed by an EmfPlusDrawImage (section 2.3.4.8) record is larger than the image itself.

      • setClampArgb32Color

        public void setClampArgb32Color(int value)

        Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp. This color is visible when the source rectangle processed by an EmfPlusDrawImage (section 2.3.4.8) record is larger than the image itself.

      • getObjectClamp

        public int getObjectClamp()

        Gets or sets 32-bit signed integer that specifies the object clamping behavior. It is not used until this object is applied to an image being drawn. This value MUST be one of the values defined in the following table.

      • setObjectClamp

        public void setObjectClamp(int value)

        Gets or sets 32-bit signed integer that specifies the object clamping behavior. It is not used until this object is applied to an image being drawn. This value MUST be one of the values defined in the following table.