Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G goocanvas
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • goocanvas
  • Issues
  • #3
Closed
Open
Issue created Jan 10, 2020 by Alessandro Castellani@Alecaddd

Uneven border radius for Goo.CanvasRect item

I'm trying to apply an uneven border radius to the CanvasRect item but I don't seem to be able to find how. I know the CanvasRect item has radius-x and radius-y options, but those don't fit my need in terms of flexibility.

I'd like the ability create an item with different values for all the 4 borders. I've been trying to use the Cairo.Context through the arc() method, but since I'm not able to create the context from a CanvasItem, but only from the Canvas, I'm not able to apply the style.

Any suggestions or workarounds? Or is this even possible?

Edited Jan 10, 2020 by Alessandro Castellani
Assignee
Assign to
Time tracking