Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 845 results for
stroke
- Page 1
CANVAS: How I can change canvas stroke on a typeface hover? stroke() doesn’t work
Programming
Web Development
15 Years Ago
by avastreg
… canvas context property fillColor and then calling fill(), but the
stroke
on hovered voice remains on another color. Difficult to explain….fillStyle = '#DF1C1C'; //ctx.strokeStyle = '#DF1C1C'; //tried this to change the
stroke
style //ctx.clearRect(0, 0, 1000, 1000); //tried this to…
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by TheBuzzer
…this?:[ATTACH]6611[/ATTACH] if so, then plainly
stroke
won't do it, i don't think,… a moment[/QUOTE] I think using
stroke
is possible because
stroke
is a shape also. Just the …in steps along the line. While without using
stroke
you just do a loop long the line.…try to draw the same idea as a
stroke
still. I think it is possible and would…
Re: CANVAS: How I can change canvas stroke on a typeface hover? stroke() doesn’t work
Programming
Web Development
15 Years Ago
by avastreg
… continues to work only with that non-sense values and
stroke
() doesn't work too. I think that maybe there not…
How to change the stroke style ?
Programming
Software Development
14 Years Ago
by moroshko
…myCircle = new Ellipse(); myCircle.Width = 400; myCircle.Height = 400; myCircle.
Stroke
= Brushes.PeachPuff; myCircle.StrokeThickness = 25; myCircle.ToolTip = "Bold … = new Ellipse(); myCircle2.Width = 400; myCircle2.Height = 400; myCircle2.
Stroke
= Brushes.Black; myCircle2.StrokeThickness = 1; Canvas.SetTop(myCircle2, 0); Canvas…
Re: How to change the stroke style ?
Programming
Software Development
14 Years Ago
by gusano79
…the edge of myCircle. How can I define the
stroke
style of myCircle such that myCircle2 will lie in …'m not aware of any way to change the
stroke
to make it display the way I think you …= new Ellipse(); myCircle2.Width = 375; myCircle2.Height = 375; myCircle2.
Stroke
= Brushes.Black; myCircle2.StrokeThickness = 1; Canvas.SetTop(myCircle2, 12.5…
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by sciwizeh
[QUOTE=TheBuzzer;648173]I think using
stroke
is possible because
stroke
is a shape also. [/QUOTE] what? no it isn't,
stroke
doesn't extend shape, and BasicStroke doesn't implement it either. [QUOTE=TheBuzzer;648173]Just the coding is more complex and you go in steps along the line. [/quote] got an example?
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by TheBuzzer
[QUOTE=sciwizeh;648190]what? no it isn't,
stroke
doesn't extend shape, and BasicStroke doesn't implement it ….com/java/java2d/strokes/[/url] I was coding it using
stroke
method but I stopped becuase It does not do color… blending when strokes overlap each other. Also
stroke
was kind of weird you need to draw lines as…
Need help in stroke and shape
Programming
Software Development
15 Years Ago
by TheBuzzer
Hi, I am trying to make
stroke
and shape make a path like two sin curves. so … am I suppose to be changing the shape or the
stroke
to make a line from xy to x2x2 with a…
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by TheBuzzer
… a thread. so i think it have to do with
stroke
. threads are like a group of strings wrapped together kind…
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by sciwizeh
like this?:[ATTACH]6611[/ATTACH] if so, then plainly
stroke
won't do it, i don't think, i would still use CubicCurve2D, ill write a bit of sample code, but it may take a moment
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by sciwizeh
thats interesting, i didn't know that you could do some of those things with
stroke
. good to help.
how to drawing stroke line
Programming
Software Development
16 Years Ago
by teklu
Hi I want to draw a
stroke
line starting from point (x1,y1)to another point (x2,y2) If any help .
Virtual physios to soothe stroke recovery
Community Center
15 Years Ago
by newsguy
…;]University of Portsmouth [/URL]are creating a rehabilitation programme for
stroke
victims that puts them onto a treadmill which immerses them…
How to set different stroke color for routes in Google map
Programming
Web Development
9 Years Ago
by divyakrishnan
… path between the longitude and latitude points. Here the default
stroke
color of the route path is blue. I want to…
Re: How to set different stroke color for routes in Google map
Programming
Web Development
9 Years Ago
by AleMonteiro
This is the basics for setting
stroke
color: directionsDisplay = new google.maps.DirectionsRenderer({ polylineOptions: { strokeColor: "red&…
Re: how to have the code pause and then continue with a key stroke
Programming
Software Development
16 Years Ago
by nanoscientist
… a way that sleep can be deactivated by a key
stroke
? Surprisingly VB6 doesn't recognizes Sleep!!
Re: CANVAS: How I can change canvas stroke on a typeface hover? stroke() doesn’t work
Programming
Web Development
15 Years Ago
by avastreg
no canvas experts here? :P
Re: CANVAS: How I can change canvas stroke on a typeface hover? stroke() doesn’t work
Programming
Web Development
15 Years Ago
by digital-ether
Is it possible to redraw the canvas on however, or is that too slow?
Re: CANVAS: How I can change canvas stroke on a typeface hover? stroke() doesn’t work
Programming
Web Development
15 Years Ago
by avastreg
[QUOTE=digital-ether;827828]Is it possible to redraw the canvas on however, or is that too slow?[/QUOTE] thank you for the answer! anyway it's not possible because it becomes too slow (and the resulting effect is that some event like mouseout is lost at random time). I think the best way to resolve my problem could be "cleaning"…
Re: CANVAS: How I can change canvas stroke on a typeface hover? stroke() doesn’t work
Programming
Web Development
15 Years Ago
by digital-ether
[QUOTE=avastreg;828056]thank you for the answer! anyway it's not possible because it becomes too slow (and the resulting effect is that some event like mouseout is lost at random time). I think the best way to resolve my problem could be "cleaning" the canvas area, but i found only the "clearRect" method: seems that it …
Re: How to change the stroke style ?
Programming
Software Development
14 Years Ago
by moroshko
Yes, you are right. The same way I can enlarge myCircle. Thanks !
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by yzg1236
I am not very clear about your question. Would you like to tell more about what are confusing you ?
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by sciwizeh
if you have to use a Shape i would go with a [URL="http://java.sun.com/javase/6/docs/api/java/awt/geom/CubicCurve2D.html"]CubicCurve2D[/URL] the sun tutorial that covers these is [URL="http://java.sun.com/docs/books/tutorial/2d/geometry/primitives.html"]here[/URL] to get one period of a sin or cos wave you need two of these…
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by sciwizeh
ok:[ATTACH]6612[/ATTACH] it's not perfect, and doesn't take into account orientation, but it illustrates my idea: [code=java] public void paint(Graphics g){ Graphics2D g2 = (Graphics2D) g; g2.setStroke(new BasicStroke(4,BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND)); for(int i=0;i<=80;i+=8){ g2.setColor(…
Re: Need help in stroke and shape
Programming
Software Development
15 Years Ago
by TheBuzzer
[QUOTE=sciwizeh;647722]ok:[ATTACH]6612[/ATTACH] it's not perfect, and doesn't take into account orientation, but it illustrates my idea: [code=java] public void paint(Graphics g){ Graphics2D g2 = (Graphics2D) g; g2.setStroke(new BasicStroke(4,BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND)); for(int i=0;i<=80;i+=8…
Re: how to drawing stroke line
Programming
Software Development
16 Years Ago
by peter_budo
[URL="http://java.sun.com/docs/books/tutorial/2d/geometry/index.html"]Here[/URL] is Java Sun tutorial on basic shapes
Re: how to drawing stroke line
Programming
Software Development
16 Years Ago
by teklu
I have got the solution from the linked web that is using the class BasicStrok() thanks
Re: How to set different stroke color for routes in Google map
Programming
Web Development
9 Years Ago
by divyakrishnan
Thanks for the reply. Please tell me how I can create multiple displays on my sample code?
Re: How to set different stroke color for routes in Google map
Programming
Web Development
9 Years Ago
by almostbob
no way points, route 1-2, with a declared colour route 2-3, ditto route 3-4, ditto,
cannot get the sendmail to actualy send an email with the form selections
Programming
Web Development
17 Years Ago
by sarant
…quot; color2="white [7]"/> </v:
stroke
> <v:imagedata cropbottom="16777215f" cropright=&…m,l,21600r21600,l21600,xe"> <v:
stroke
joinstyle="miter"/> <v:path …quot; o:cliptowrap="t"> <v:
stroke
dashstyle="dash"> <o:left v…
1
2
3
15
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC