getAlignment method
dynamic
getAlignment(
- dynamic value
Implementation
getAlignment(value){
switch(value){
case 'topLeft':
return Alignment.topLeft;
case 'topCenter':
return Alignment.topCenter;
case 'topRight':
return Alignment.topRight;
case 'bottomLeft':
return Alignment.bottomLeft;
case 'bottomCenter':
return Alignment.bottomCenter;
case 'bottomRight':
return Alignment.bottomRight;
case 'center':
return Alignment.center;
}
}