489 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
2
answers
90
views
How to add a shadow to the stroke and not directly on the text?
does anyone know how to do this?
This is what I've done so far, but I cant add shadow to the stroke
I tried to add a shadow but in the end it's not working It's adding the shadow on the text itself, ...
3
votes
0
answers
80
views
What is the default color the TextInputLayout border stroke color uses in Material3 Theme?
The color which are unfocused and focused. I can guess the focused one uses ?attr/colorPrimary, but what about the unfocused one?
I've tried ?attr/colorOnSurface, ?attr/colorOnsurfaceVariant, etc. ...
0
votes
1
answer
92
views
Move stroke gradient definition from SVG to CSS [duplicate]
There is a gradient, defined like this:
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="out-of-flow"&...
1
vote
0
answers
88
views
PostScript: Explain the difference between "newpath 0 0 moveto" and "newpath 0 0 moveto closepath"
Well I wanted to draw a "point" in PostScript (ghostscript 9.52) (using 1 setlinecap), so I tried (after 36 dup translate and 4 setlinewidth):
0 dup moveto stroke
But nothing appeared.
...
-1
votes
2
answers
48
views
How auto execute function and change stroke color to svg by percent?
I'm aproach tto js but I've many difficult to do the below action.
I’m using the circlifull jquery for a data counter in my web page, the data is calle ny api from the server and sent to the page by ...
0
votes
2
answers
92
views
Unable to draw rounded stroke in NSAttributedString
I'm trying to apply a rounded stroke effect to text using NSMutableAttributedString in Swift. I have been able to find various NSMutableAttributedString.Key options for text attributes like color, ...
0
votes
1
answer
84
views
Drawing iText7 Canvas lines does not always fill page
I have the following code to apply a full page grid to an existing A4 pdf document.
It works fine on pdfs I or others have produced with iText, but when I try to use on a PDF that has been created by ...
0
votes
0
answers
114
views
How to cope with text-shadow property rendering inconsistently in Safari?
Tested background for future search reference:
Mac Sonoma 14.5
Safari 17.5
Firefox 128.0 (64-bit)
Chrome 126.0.6478.127 (Official Build) (arm64)
** This question differ to the existing questions, it ...
1
vote
0
answers
51
views
How to achieve smooth paint strokes like Adobe Illustrator in Javascript?
I'm looking for techniques or algorithms to make my webapp's strokes smooth like in those drawing apps.
Currently I have achieved calligraphy style brush but there are still jagged edges.
My Stroke ...
0
votes
1
answer
80
views
How to color SVG pattern when using `use`
I expect three diagonal stripe rectangles colored with red, green, yellow respectively, but it draws empty rectangles that colored only the border.
<svg width="100%" viewBox="0,0,100,...
0
votes
0
answers
42
views
CAShapeLayer stokeLine has a border like line when theme changes
I used CAShapeLayer to draw a line above a customized UIView. It looks perfect when draw for the first time. But when I switch theme the stoke line of the CALayer contains a border like line. I dont ...
0
votes
0
answers
45
views
how do I change the alpha channel along a path in cairo?
In an application using gtk3, I use cairo to do some drawing. What I would like to do is increase the transparency along the path. The path can have any shape.
In very simplified terms, I have ...
1
vote
1
answer
812
views
SVG stroke color won't change
I'm having trouble getting the stroke color on an SVG to change. Here I have an SVG from the Material Symbols library that displays in black:
<svg xmlns="http://www.w3.org/2000/svg" height="24" ...
0
votes
1
answer
296
views
Composable Button Border Stroke looks weird
I am trying to implement a button with a black containercolor and a white border, but the edge of the stroke add a black color too on it and i dont know why.
The code:
@Composable
fun Button(){
...
0
votes
1
answer
73
views
Is it possible to delete only the shapes that have only a fill an no stroke?
I would like to keep only the shapes that have no fill on this map : https://commons.wikimedia.org/wiki/File:Antarctica_in_the_World_(yellow).svg
Obviously, I don't want to remove all the other ones ...