Questions tagged [stroke]

a line drawn along a path

On iOS, this might be a UIBezierPath or on Android, this would be a collection of attributes describing the line in XML (such as width, color, width and gap).

476 questions
0
votes
3 answers

Add a specific class style to a path

I am looking for how to add a class in css which matches to a specific path (For example, the name of my path is "cities" and I would like to apply to it an other color of stroke or fill. I try it by different ways, but no result. Is it…
maeva
  • 17
  • 2
0
votes
2 answers

WPF Pen DrawingVisual

I am working with WPF DrawingVisual and Pen and encountered a problem. When I draw a DrawingVisual with Pen, say, a Rectangle as follows: Pen StrokePen = new Pen(); StrokePen.Brush = Brushes.SkyBlue; StrokePen.Thickness = 6; DrawingVisual dv = new…
user1184598
  • 449
  • 1
  • 5
  • 11
0
votes
1 answer

Missing StrokeThickness on MapPolyline of Bing.Maps Windows 8

I use polyline to draw circle on Bing Maps (Metro App) but it appears aliasing on Maps, it's not smooth. I think it does not have strokethickness. How can I solve? Thanks MapShapeLayer shapeLayer = new MapShapeLayer(); MapPolyline polyline =…
0
votes
2 answers

HTML 5 Canvas style leaking

There is a tiny sample at the URL below that draws two lines. I expect the top line to be green and the bottom to be blue. But they are both blue. Why? http://jsfiddle.net/rj8Ab/ EDIT Adding the script below as well: var canvas =…
DougN
  • 4,407
  • 11
  • 56
  • 81
0
votes
1 answer

InkCanvas: How to erase by Stroke on right mouse click

I have an InkCanvas that works in the InkCanvasEditingMode.Ink. But I want to erase the entire stroke when the user presses the right button. Help me with an advise, please?
Lullaby
  • 427
  • 9
  • 23
0
votes
2 answers

How to change stroke of selected tabbar icon

I tried to figure out how to change the stroke of the selected Tabbar Icon. Its usally cyan like the tint of the selected icon. I already changed the tint and the indicator image of the selected icon like this:…
ferdyyy
  • 515
  • 4
  • 16
0
votes
1 answer

how to increase the gesture time out time

I have implemented multiple-stroke gestures in my app, but if the pause between strokes is too long it resets the gesture. Is there a way to increase the time allowed between strokes of a single gesture?
Chimeara
  • 695
  • 7
  • 27
-1
votes
1 answer

How to set three different colors in html5 SVG circle surrounded by circles

How can I achieve something like this using SVG?
A Kumar
  • 11
  • 1
  • 5
-1
votes
1 answer

Trying to animate the Path StrokeProperty throws Invalid operation exception

I have code when a certain value is reached, I want to flash the Stroke of the Path to Red. When I try to apply the animation like this, it says "''System.Windows.Media.Animation.DoubleAnimation' animation object cannot be used to animate property…
nikhil
  • 1,578
  • 3
  • 23
  • 52
-1
votes
1 answer

Is it possible to add a texture to the stroke in Win2d?

The InkDrawingAttributes() properties does not provide any such values. (C sharp)
Rustenberg
  • 23
  • 7
-1
votes
1 answer

LineString width with thin stroke

I'm trying to draw a linestring like this: thin stroke but high internal Any ideas? I've to use some complex style function? Thank you
-1
votes
1 answer

Diagonal SVG Stroke

At the moment I am developing this simple site: https://carl-robertshaw1.superhi.com/ The diagonal line is an SVG image but I what to code this SVG so that it is responsive, so it reminds at 1px on any screen, goes to the bottom left-hand corner and…
benjones
  • 35
  • 5
-1
votes
1 answer

How to outline stroke c#?

We want to outlined font. But we can't give stroke(outline-contour). Contour interior was correct. What should we do to the stroke to outside? Example:
Erdil
  • 3
  • 3
-1
votes
1 answer

How does drawLine Work?

In order to solve a scaling problem, I have the following question: graphics.drawLine(x1,y1,x2,y2); draws a line between 2 points. Does it draw this Lines "on Top" of those points or is it drawn below them? See my Image for clarification: The upper…
RoiEX
  • 1,186
  • 1
  • 10
  • 37
-1
votes
1 answer

Actionscript 3, help required, pattern over drawn circle

http://madcomm.deviantart.com/art/System-generator-wip-611957633 This is what I am currently working on, and currently, I'm looking for a way (if any) to basically draw automatic, randomised asteroid belts. The main idea I have, currently, would be…
1 2 3
31
32