|
@@ -24,6 +24,7 @@ class AAOptions {
|
|
var legend: AALegend? = null
|
|
var legend: AALegend? = null
|
|
var pane: AAPane? = null
|
|
var pane: AAPane? = null
|
|
var colors: Array<Any>? = null
|
|
var colors: Array<Any>? = null
|
|
|
|
+ var credits: AACredits? = null
|
|
var defaultOptions: AALang? = null
|
|
var defaultOptions: AALang? = null
|
|
var touchEventEnabled: Boolean? = null
|
|
var touchEventEnabled: Boolean? = null
|
|
|
|
|
|
@@ -92,7 +93,12 @@ class AAOptions {
|
|
return this
|
|
return this
|
|
}
|
|
}
|
|
|
|
|
|
- fun defaultOptions(prop: AALang): AAOptions? {
|
|
|
|
|
|
+ fun credits(prop: AACredits): AAOptions {
|
|
|
|
+ credits = prop
|
|
|
|
+ return this
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ fun defaultOptions(prop: AALang): AAOptions {
|
|
defaultOptions = prop
|
|
defaultOptions = prop
|
|
return this
|
|
return this
|
|
}
|
|
}
|
|
@@ -101,4 +107,11 @@ class AAOptions {
|
|
touchEventEnabled = prop
|
|
touchEventEnabled = prop
|
|
return this
|
|
return this
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ init {
|
|
|
|
+ val aaCredits = AACredits()
|
|
|
|
+ aaCredits.enabled = false
|
|
|
|
+ credits = aaCredits
|
|
|
|
+ }
|
|
}
|
|
}
|