com.aspose.html.drawing

Interface ITextureBrush

    • Method Detail

      • getImage

        byte[] getImage()

        Gets or sets the image used by the brush.

        Returns:
        Image data.
      • getOpacity

        float getOpacity()

        Get opacity value in a color transform matrix.

        Returns:
        Opacity.
      • getImageArea

        com.aspose.ms.System.Drawing.RectangleF getImageArea()

        Specifies the portion of the image used by the brush. If it equals RectangleF.Empty then the whole image will be used. Coordinates are in pixels.

        Returns:
        Image area
      • getColorMap

        com.aspose.ms.System.Drawing.Color[] getColorMap()

        The number of elements must be even. Every even element is old color. Every odd element is new color.

        Value: The color map.