Class SceneItemTransform

    • Constructor Detail

      • SceneItemTransform

        public SceneItemTransform()
    • Method Detail

      • getPositionX

        public int getPositionX()
        The x position of the scene item from the left.
      • getPositionY

        public int getPositionY()
        The y position of the scene item from the top.
      • getPositionAlignment

        public int getPositionAlignment()
        The point on the scene item that the item is manipulated from.
      • getRotation

        public double getRotation()
        The clockwise rotation of the scene item in degrees around the point of alignment.
      • getScaleX

        public double getScaleX()
        The x-scale factor of the scene item.
      • getScaleY

        public double getScaleY()
        The y-scale factor of the scene item.
      • getCropTop

        public int getCropTop()
        The number of pixels cropped off the top of the scene item before scaling.
      • getCropRight

        public int getCropRight()
        The number of pixels cropped off the right of the scene item before scaling.
      • getCropBottom

        public int getCropBottom()
        The number of pixels cropped off the bottom of the scene item before scaling.
      • getCropLeft

        public int getCropLeft()
        The number of pixels cropped off the left of the scene item before scaling.
      • isVisible

        public boolean isVisible()
        If the scene item is visible.
      • isLocked

        public boolean isLocked()
        If the scene item is locked in position.
      • getBoundsType

        public BoundsType getBoundsType()
        Type of bounding box. Can be "OBS_BOUNDS_STRETCH", "OBS_BOUNDS_SCALE_INNER", "OBS_BOUNDS_SCALE_OUTER", "OBS_BOUNDS_SCALE_TO_WIDTH", "OBS_BOUNDS_SCALE_TO_HEIGHT", "OBS_BOUNDS_MAX_ONLY" or "OBS_BOUNDS_NONE".
      • getBoundsAlignment

        public int getBoundsAlignment()
        Alignment of the bounding box.
      • getBoundsX

        public double getBoundsX()
        Width of the bounding box.
      • getBoundsY

        public double getBoundsY()
        Height of the bounding box.
      • getSourceWidth

        public int getSourceWidth()
        Base width (without scaling) of the source.
      • getSourceHeight

        public int getSourceHeight()
        Base source (without scaling) of the source.
      • getWidth

        public double getWidth()
        Scene item width (base source width multiplied by the horizontal scaling factor).
      • getHeight

        public double getHeight()
        Scene item height (base source height multiplied by the vertical scaling factor).
      • getParentGroupName

        public Optional<String> getParentGroupName()
        Name of the item's parent (if this item belongs to a group).