Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfScanObject

  • All Implemented Interfaces:
    Cloneable


    public class WmfScanObject
    extends MetaObject

    The Scan Object specifies a collection of scanlines.

    • Constructor Detail

      • WmfScanObject

        public WmfScanObject()
    • Method Detail

      • getCount

        public int getCount()

        Gets or sets the count.

        Value: The number of horizontal (x-axis) coordinates in the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.ScanLines array. This value MUST be a multiple of 2, since left and right endpoints are required to specify each scanline.
      • setCount

        public void setCount(int value)

        Gets or sets the count.

        Value: The number of horizontal (x-axis) coordinates in the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.ScanLines array. This value MUST be a multiple of 2, since left and right endpoints are required to specify each scanline.
      • getTop

        public int getTop()

        Gets or sets the top.

        Value: The vertical (y-axis) coordinate, in logical units, of the top scanline.
      • setTop

        public void setTop(int value)

        Gets or sets the top.

        Value: The vertical (y-axis) coordinate, in logical units, of the top scanline.
      • getBottom

        public int getBottom()

        Gets or sets the bottom.

        Value: The vertical (y-axis) coordinate, in logical units, of the bottom scanline.
      • setBottom

        public void setBottom(int value)

        Gets or sets the bottom.

        Value: The vertical (y-axis) coordinate, in logical units, of the bottom scanline.
      • getScanLines

        public Point[] getScanLines()

        Gets or sets the scan lines.

        Value: An array of scanlines, each specified by left and right horizontal (x-axis) coordinates of its endpoints.
      • setScanLines

        public void setScanLines(Point[] value)

        Gets or sets the scan lines.

        Value: An array of scanlines, each specified by left and right horizontal (x-axis) coordinates of its endpoints.
      • getCount2

        public int getCount2()

        Gets or sets the count2.

        Value: The same as the value of the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.Count field; it is present to allow upward travel in the structure.
      • setCount2

        public void setCount2(int value)

        Gets or sets the count2.

        Value: The same as the value of the com.aspose.imaging.fileFormats.wmf.objects.wmfScanObject.Count field; it is present to allow upward travel in the structure.