xiaoxxaoniao / LEDView

Led

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LEDView

The LedView can convert any of your input into led content.You can also customize color, text size, pixel size

YouTube Address

Bilibili Address

Google Play

Get it on Google Play

GIF

Usage

public void setLED(String str ,@ColorInt int ledColor, int ledTextSize,int ledPixel)
  • str: What you want to show in LEDView.
  • ledColor: The color of LEDView.
  • ledTextSize: LEDView's text size.
  • ledPixel: Pixel count of you LEDView in vertical axis.

Other methods

// change above args 'str'
public void setLEDContent(String content)
// change above args 'ledColor'
public void setLEDTextColor(int color)
// change above args 'ledPixel'
public void setLEDSize(int size)
// change above args 'ledTextSize'
public void setLEDTextSize(int size)
Copyright 2017 Qinglian.Zhang

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Led

License:Apache License 2.0


Languages

Language:Java 100.0%