Class HingeConfig


  • public class HingeConfig
    extends java.lang.Object
    Configuration for dual screen hinge
    • Constructor Summary

      Constructors 
      Constructor Description
      HingeConfig​(Rect rect, java.util.Optional<RGBA> contentColor, java.util.Optional<RGBA> outlineColor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<RGBA> getContentColor()
      The content box highlight fill color (default: a dark color).
      java.util.Optional<RGBA> getOutlineColor()
      The content box highlight outline color (default: transparent).
      Rect getRect()
      A rectangle represent hinge
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HingeConfig

        public HingeConfig​(Rect rect,
                           java.util.Optional<RGBA> contentColor,
                           java.util.Optional<RGBA> outlineColor)
    • Method Detail

      • getRect

        public Rect getRect()
        A rectangle represent hinge
      • getContentColor

        public java.util.Optional<RGBA> getContentColor()
        The content box highlight fill color (default: a dark color).
      • getOutlineColor

        public java.util.Optional<RGBA> getOutlineColor()
        The content box highlight outline color (default: transparent).