com.samsung.android.sdk.look.smartclip

Interface SlookSmartClipCroppedArea



  • public interface SlookSmartClipCroppedArea
    It contains some operations which handles cropped area. When the user draws some closed curve with S-Pen, the curve area will be cropped area.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      android.graphics.Rect getRect()
      Get area of SmartClip
      boolean intersects(android.graphics.Rect rect)
      [UPDATE]Determine whether cropped area intersects with given rect The rect should be screen based coordinate.
      boolean intersects(android.view.View view)
      [UPDATE]Determine whether cropped area intersects with given view rect
    • Method Detail

      • getRect

        android.graphics.Rect getRect()
        Get area of SmartClip
        Returns:
        area of SmartClip
        Since:
        1.0.0
      • intersects

        boolean intersects(android.view.View view)
        [UPDATE]Determine whether cropped area intersects with given view rect
        Parameters:
        view - The view object which determine intersection
        Returns:
        true : cropped area intersects with given rect false : not cropped area intersects with given rect
        Since:
        1.0.0
      • intersects

        boolean intersects(android.graphics.Rect rect)
        [UPDATE]Determine whether cropped area intersects with given rect The rect should be screen based coordinate.
        Parameters:
        rect - The rect area which determine intersection
        Returns:
        true : cropped area intersects with given rect false : not cropped area intersects with given rect
        Since:
        1.0.0