Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6367863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:36:12+00:00 2026-05-25T00:36:12+00:00

I want to make a stroke that has a gradient on the stroke and

  • 0

I want to make a stroke that has a gradient on the stroke and use the stroke as a background for a selected button. Is this possible using a <shape> or will I need to use a 9-slice image?

I can connect the parts, I just don’t know that a gradient on a <shape> is possible, but if it is I’d rather do that than create a png image.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:36:12+00:00Added an answer on May 25, 2026 at 12:36 am

    Shape (rectangle) supports a gradient fill. You can also round the corners to get a nice toolbar button effect.

    I don’t think that stroke supports a gradient, but if you want a gradient stroke around your button you can create two layered rectangles – the first one using your gradient and the second using a solid or a different gradient sized to be 2 pixels smaller in height and width.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want make datetimepicker in my project. Using jquery how it is possible? I
I want to make a WindowBaseClass that derives from Window but has a few
I want make an iphone app that has a UITableView that displays different texts
This is what it looks like. I want to make the black background Clear
I am traversing a HTML document using javascript DOM. I want make a list
I want my Spinner to have a black gradient background with white text on
I want make sql query which will insert values from one table to another
I want to draw two lines that go through three points, and make a
I'm wanting to make a component that inherits from rotate canvas using a storyboard.
I want make this effection: a{color:#000;} , when I make a a:hover, the hyperlinked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.