| Summary: | Extend ColorConstant constructor to support "RRGGBB" color as a String | ||
|---|---|---|---|
| Product: | [Modeling] Graphiti | Reporter: | sergej shafarenka <beworker> |
| Component: | Core | Assignee: | Project Inbox <graphiti-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | michael.wenz |
| Version: | 0.7.0 | Flags: | michael.wenz:
indigo+
|
| Target Milestone: | 0.8.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | M4 theme_round_offs | ||
This functionality is already available in Graphiti 0.8.0 Michael Part of Graphiti Indigo 0.8.0 |
Build Identifier: M20100211-1343 It is much easier to use commonly adopted form "RRGGBB" of color definition when creating a new ColorConstant instance. Like this: public ColorConstant(String hexColor) { this.red = ColorUtil.getRedFromHex(hexColor); this.green = ColorUtil.getGreenFromHex(hexColor); this.blue = ColorUtil.getBlueFromHex(hexColor); } Reproducible: Always Steps to Reproduce: NA as this is an enhancement request