1- declare module com {
2- export module akylas {
3- export module canvas {
1+ declare namespace com {
2+ export namespace akylas {
3+ export namespace canvas {
44 export class CanvasPath extends globalAndroid . graphics . Path {
5- addLines ( points : number [ ] , offset ?:number , length ?: number , close ?: boolean ) ;
6- setLines ( points : number [ ] , offset ?:number , length ?: number , close ?: boolean ) ;
7- addCubicLines ( points : number [ ] , offset ?:number , length ?: number , close ?: boolean ) ;
8- setCubicLines ( points : number [ ] , offset ?:number , length ?: number , close ?: boolean ) ;
5+ addLines ( points : number [ ] , offset ?: number , length ?: number , close ?: boolean ) ;
6+ setLines ( points : number [ ] , offset ?: number , length ?: number , close ?: boolean ) ;
7+ addCubicLines ( points : number [ ] , offset ?: number , length ?: number , close ?: boolean ) ;
8+ setCubicLines ( points : number [ ] , offset ?: number , length ?: number , close ?: boolean ) ;
99 }
1010
1111 export class CanvasView extends globalAndroid . view . View {
@@ -20,6 +20,18 @@ declare module com {
2020 constructor ( impl ?: { onDraw ( canvas : globalAndroid . graphics . Canvas ) } ) ;
2121 onDraw ( canvas : globalAndroid . graphics . Canvas ) ;
2222 }
23+
24+ export class StaticLayout {
25+ static createStaticLayout (
26+ source : java . lang . CharSequence ,
27+ paint : globalAndroid . graphics . Paint | globalAndroid . text . TextPaint ,
28+ width : number ,
29+ align : globalAndroid . text . Layout . Alignment ,
30+ spacingmult : number ,
31+ spacingadd : number ,
32+ includepad : boolean
33+ ) : android . text . StaticLayout ;
34+ }
2335 }
2436 }
2537}
0 commit comments