{ "id": "61439", "key": "TIMOB-807", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:18.000+0000", "created": "2011-04-15T02:36:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:18.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

see premium ticket:

\n

http://helpdesk.appcelerator.net/tickets/2058

\n

also see this Objective-C class:

\n

\nhttp://developer.apple.com/iphone/library/documentation/GraphicsIma...

{html}", "attachment": [], "flagged": false, "summary": "support gradient backgrounds", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124084", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Notes to self: Looking up examples from javascript and CSS on\nhow to expose it.

\n

http://webkit.org/blog/175/introducing-css-gradients/

\n

http://css-tricks.com/css3-gradients/

\n

http://weston.ruter.net/projects/css-gradients-via-canvas/

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:52.000+0000", "updated": "2011-04-15T02:36:52.000+0000" }, { "id": "124085", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Okay, this looks more involved then I thought if we give them\nall the flexibility of CGGradient.

\n

If we want to match CGGradient, we have a gradient object that's\nan array of colors, and an optional array of floats. The floats\nindicate the distance along the gradient that the color's\nexpressed. If the array is omitted, the gradient colors are\ndistributed evenly.

\n

This would be used as an argument in two methods, both painting\nto an image blob, one for radial, the other linear.

\n

Radial would take the gradient, a start location and radius, an\nend location and radius, and two options.

\n

Linear would take the gradient, a start location, an end\nlocation, and the two options.

\n

The two notable options are booleans. The first allows the color\nto be filled beyond the beginning of the gradient, the other fills\nthe color beyond the end. We'll have to talk this over on Friday to\nfigure out what's the best balance between the CGGradient model and\nthe CSS gradient models.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:52.000+0000", "updated": "2011-04-15T02:36:52.000+0000" }, { "id": "124086", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [2edf3e3557d2ddc030d013ec5f58373ad214549c])\nCloses #807 \nhttp://github.com/appcelerator/titanium_mobile/commit/2edf3e3557d2d...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:36:53.000+0000", "updated": "2011-04-15T02:36:53.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }