[TIMOB-6151] Label shadow - blur and opacity properties
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | TiAPI |
Labels | n/a |
Reporter | Sindre Sorhus |
Assignee | Ingo Muschenetz |
Created | 2011-10-30T13:45:23.000+0000 |
Updated | 2014-06-18T22:53:54.000+0000 |
Description
Ti.UI.Label has the properties
shadowColor
and shadowOffset
.
It would be nice if it also supported setting the blur and opacity of the shadow.
This is useful when you don't want that hard shadow you get by just setting color and offset.
It could instead be a label.shadow
property, that takes an object as an argument:
var label = Ti.UI.createLabel({
shadow: {
color: '#000',
offset: {
x: 0,
y: 1
},
opacity: 0.4,
blur: 2
}
});
No comments