org.apache.poi.hemf.record.emf

## Class HemfDraw.EmfFillPath

- java.lang.Object
- - org.apache.poi.hemf.record.emf.HemfDraw.EmfStrokePath
  - - org.apache.poi.hemf.record.emf.HemfDraw.EmfFillPath

- All Implemented Interfaces:
    GenericRecord, HemfRecord
  Enclosing class:
    HemfDraw

      public static class HemfDraw.EmfFillPath
      extends HemfDraw.EmfStrokePath

  The EMR_FILLPATH record closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode.

- - ### Field Summary

    - ### Fields inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfStrokePath

      `bounds`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EmfFillPath()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `draw(HemfGraphics ctx)` Draws the record, the default redirects to the parent WMF record drawing
    `HemfRecordType` | `getEmfRecordType()`

    - ### Methods inherited from class org.apache.poi.hemf.record.emf.HemfDraw.EmfStrokePath

      `getBounds, getGenericProperties, init, 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.hemf.record.emf.HemfRecord

      `getGenericRecordType, setHeader`

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

      `getGenericChildren`

- - ### Constructor Detail

    - #### EmfFillPath

          public EmfFillPath()

  - ### Method Detail

    - #### getEmfRecordType

          public HemfRecordType getEmfRecordType()

      Specified by:
        `getEmfRecordType` in interface `HemfRecord`
      Overrides:
        `getEmfRecordType` in class `HemfDraw.EmfStrokePath`

    - #### draw

          public void draw(HemfGraphics ctx)

      Description copied from interface: `HemfRecord`
      Draws the record, the default redirects to the parent WMF record drawing
      Specified by:
        `draw` in interface `HemfRecord`
      Overrides:
        `draw` in class `HemfDraw.EmfStrokePath`
      Parameters:
        `ctx` - the drawing context

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