1package com.navigine.idl.java.internal;
3import com.navigine.common.NativeObject;
4import com.navigine.idl.java.CapType;
5import com.navigine.idl.java.JoinType;
6import com.navigine.idl.java.LocationPolyline;
7import com.navigine.idl.java.MapObjectType;
8import com.navigine.idl.java.PolylineMapObject;
16 private final NativeObject nativeObject;
18 PolylineMapObjectBinding(NativeObject nativeObject)
20 this.nativeObject = nativeObject;
31 return native_setPolyLine(polyline);
38 return native_setWidth(width);
40 private native
boolean native_setWidth(
float width);
43 public boolean setColor(
float red,
float green,
float blue,
float alpha)
45 return native_setColor(red, green, blue, alpha);
47 private native
boolean native_setColor(
float red,
float green,
float blue,
float alpha);
52 return native_setOrder(order);
54 private native
boolean native_setOrder(
int order);
59 return native_setCapType(cap);
61 private native
boolean native_setCapType(
CapType cap);
66 return native_setJoinType(join);
68 private native
boolean native_setJoinType(
JoinType join);
73 return native_setMiterLimit(miterLimit);
75 private native
boolean native_setMiterLimit(
float miterLimit);
80 return native_setOutlineColor(red, green, blue, alpha);
82 private native
boolean native_setOutlineColor(
float red,
float green,
float blue,
float alpha);
87 return native_setOutlineWidth(radius);
89 private native
boolean native_setOutlineWidth(
float radius);
94 return native_setOutlineAlpha(alpha);
96 private native
boolean native_setOutlineAlpha(
float alpha);
101 return native_setOutlineCapType(cap);
103 private native
boolean native_setOutlineCapType(
CapType cap);
108 return native_setOutlineJoinType(join);
110 private native
boolean native_setOutlineJoinType(
JoinType join);
115 return native_setOutlineMiterLimit(miterLimit);
117 private native
boolean native_setOutlineMiterLimit(
float miterLimit);
122 return native_setOutlineOrder(order);
124 private native
boolean native_setOutlineOrder(
int order);
131 return native_getId();
133 private native
int native_getId();
138 return native_getType();
145 return native_getData();
147 private native
byte[] native_getData();
152 return native_setVisible(visible);
154 private native
boolean native_setVisible(
boolean visible);
159 return native_setInteractive(interactive);
161 private native
boolean native_setInteractive(
boolean interactive);
166 native_setData(data);
168 private native
void native_setData(
byte[] data);
173 return native_setTitle(title);
175 private native
boolean native_setTitle(String title);
180 return native_setAlpha(alpha);
182 private native
boolean native_setAlpha(
float alpha);