com.groupdocs.viewer.options

Class Tile



  • public class Tile
    extends Object

    Represents drawing region.

    • Constructor Detail

      • Tile

        public Tile(int startPointX,
                    int startPointY,
                    int width,
                    int height)

        Initializes a new instance of the Tile class.

        Parameters:
        startPointX - The X coordinate of the lowest left point on the drawing where the tile begins
        startPointY - The Y coordinate of the lowest left point on the drawing where the tile begins.
        width - The width of the tile in pixels.
        height - The height of the tile in pixels.
    • Method Detail

      • getEndPointX

        public final int getEndPointX()

        Returns the X coordinate of the highest right point on the drawing where the tile ends.

      • getEndPointY

        public final int getEndPointY()

        Returns the Y coordinate of the highest right point on the drawing where the tile ends.

      • getHeight

        public final int getHeight()

        The height of the tile in pixels.

      • getStartPointX

        public final int getStartPointX()

        The X coordinate of the lowest left point on the drawing where the tile begins.

      • getStartPointY

        public final int getStartPointY()

        The Y coordinate of the lowest left point on the drawing where the tile begins.

      • getWidth

        public final int getWidth()

        The width of the tile in pixels.