GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Dynamic Text
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Dynamic Text
PonyCui edited this page
You may add text above an element just like this.
You can download a sample file from SVGA-Samples to try. // Setup a SVGAImageView by yourself. try { parser.parse(new URL("https://github.com/yyued/SVGA-Samples/blob/master/kingset.svga?raw=true"), new SVGAParser.ParseCompletion() { @Override public void onComplete(@NotNull SVGAVideoEntity videoItem) { } @Override public void onError() { } } ); } catch (Exception e) { System.out.print(true); } try { parser.parse(new URL("https://github.com/yyued/SVGA-Samples/blob/master/kingset.svga?raw=true"), new SVGAParser.ParseCompletion() { @Override public void onComplete(@NotNull SVGAVideoEntity videoItem) { SVGADynamicEntity dynamicEntity = new SVGADynamicEntity(); TextPaint textPaint = new TextPaint(); textPaint.setColor(Color.WHITE); textPaint.setTextSize(28); dynamicEntity.setDynamicText("Pony send Kitty flowers.", textPaint, "banner"); SVGADrawable drawable = new SVGADrawable(videoItem, dynamicEntity); testView.setImageDrawable(drawable); testView.startAnimation(); } @Override public void onError() { } } ); } catch (Exception e) { System.out.print(true); } The For example, the layer png image file name is Clone this wiki locally |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |