Class Canvas

    • Constructor Detail

      • Canvas

        public Canvas()
      • Canvas

        public Canvas​(Canvas source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getLayoutParams

        public LayoutParams getLayoutParams()
        Get 混流画布宽高配置
        Returns:
        LayoutParams 混流画布宽高配置
      • setLayoutParams

        public void setLayoutParams​(LayoutParams LayoutParams)
        Set 混流画布宽高配置
        Parameters:
        LayoutParams - 混流画布宽高配置
      • getBackgroundColor

        public String getBackgroundColor()
        Get 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
        Returns:
        BackgroundColor 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
      • setBackgroundColor

        public void setBackgroundColor​(String BackgroundColor)
        Set 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
        Parameters:
        BackgroundColor - 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"