getBindingProperty method
dynamic
getBindingProperty(
- String key
)
override
Implementation
@override
getBindingProperty(String key) {
switch (key) {
case 'fillStyle': return CSSColor.convertToHex(fillStyle);
case 'direction': return _textDirectionInString;
case 'font': return font;
case 'strokeStyle': return CSSColor.convertToHex(strokeStyle);
case 'lineCap': return lineCap;
case 'lineDashOffset': return lineDashOffset;
case 'lineJoin': return lineJoin;
case 'lineWidth': return lineWidth;
case 'miterLimit': return miterLimit;
case 'textAlign': return textAlign.toString();
case 'textBaseline': return textBaseline.toString();
default: return super.getBindingProperty(key);
}
}