1
- declare module com {
2
- export module akylas {
3
- export module canvas {
1
+ declare namespace com {
2
+ export namespace akylas {
3
+ export namespace canvas {
4
4
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 ) ;
9
9
}
10
10
11
11
export class CanvasView extends globalAndroid . view . View {
@@ -20,6 +20,18 @@ declare module com {
20
20
constructor ( impl ?: { onDraw ( canvas : globalAndroid . graphics . Canvas ) } ) ;
21
21
onDraw ( canvas : globalAndroid . graphics . Canvas ) ;
22
22
}
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
+ }
23
35
}
24
36
}
25
37
}
0 commit comments