org.apache.poi.hemf.record.emfplus

## Class HemfPlusBrush.EmfPlusTextureBrushData

- java.lang.Object
- - org.apache.poi.hemf.record.emfplus.HemfPlusBrush.EmfPlusTextureBrushData

- All Implemented Interfaces:
    GenericRecord, HemfPlusBrush.EmfPlusBrushData
  Enclosing class:
    HemfPlusBrush

      public static class HemfPlusBrush.EmfPlusTextureBrushData
      extends java.lang.Object
      implements HemfPlusBrush.EmfPlusBrushData

  The EmfPlusTextureBrushData object specifies a texture image for a graphics brush.

- - ### Field Summary

    - ### Fields inherited from interface org.apache.poi.hemf.record.emfplus.HemfPlusBrush.EmfPlusBrushData

      `BLEND_FACTORS_H, BLEND_FACTORS_V, DO_NOT_TRANSFORM, FOCUS_SCALES, IS_GAMMA_CORRECTED, PATH, PRESET_COLORS, TRANSFORM`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EmfPlusTextureBrushData()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `applyObject(HemfGraphics ctx, java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)` Apply brush data to graphics properties
    `void` | `applyPen(HemfGraphics ctx, java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)` Apply brush data to pen properties
    `java.util.Map<java.lang.String,java.util.function.Supplier<?>>` | `getGenericProperties()`
    `java.lang.Enum` | `getGenericRecordType()`
    `long` | `init(LittleEndianInputStream leis, long dataSize)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord

      `getGenericChildren`

- - ### Constructor Detail

    - #### EmfPlusTextureBrushData

          public EmfPlusTextureBrushData()

  - ### Method Detail

    - #### init

          public long init(LittleEndianInputStream leis,
                           long dataSize)
                    throws java.io.IOException

      Specified by:
        `init` in interface `HemfPlusBrush.EmfPlusBrushData`
      Throws:
        `java.io.IOException`

    - #### applyObject

          public void applyObject(HemfGraphics ctx,
                                  java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)

      Description copied from interface: `HemfPlusBrush.EmfPlusBrushData`
      Apply brush data to graphics properties
      Specified by:
        `applyObject` in interface `HemfPlusBrush.EmfPlusBrushData`
      Parameters:
        `ctx` - the graphics context
        `continuedObjectData` - the list continued object data

    - #### applyPen

          public void applyPen(HemfGraphics ctx,
                               java.util.List<? extends HemfPlusObject.EmfPlusObjectData> continuedObjectData)

      Description copied from interface: `HemfPlusBrush.EmfPlusBrushData`
      Apply brush data to pen properties
      Specified by:
        `applyPen` in interface `HemfPlusBrush.EmfPlusBrushData`
      Parameters:
        `ctx` - the graphics context
        `continuedObjectData` - the list continued object data

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### getGenericRecordType

          public java.lang.Enum getGenericRecordType()

      Specified by:
        `getGenericRecordType` in interface `GenericRecord`

    - #### getGenericProperties

          public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()

      Specified by:
        `getGenericProperties` in interface `GenericRecord`

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.