brush Questions

3

Solved

I'm finding it awfully hard to see how to simply cover a rectangular XAML element with repeating copies of a bitmap! I am using WinUI 3 with Windows App SDK. I would like to use the repeating image...
Science asked 22/11, 2022 at 5:14

1

Solved

I'm trying to create a brush interaction on a timeline with D3 and React but I can't figure out why it doesn't work. Everything seems fine but when I set a state within the useEffect() the index va...
Sienna asked 5/8, 2022 at 13:26

2

Solved

i have created some histogram with d3.js. I managed to change fill color of rect depending on the position of the brush. But i would like to change the color inside a rect. For example if the bru...
Gyn asked 5/8, 2016 at 9:0

1

I have created some brushes but i need more and i found some brushes in JS but i couldn't convert them perfectly in android code, This is the Link http://perfectionkills.com/exploring-canvas-drawin...
Expertism asked 8/9, 2020 at 8:20

10

Solved

I have a configuration file where a developer can specify a text color by passing in a string: <text value="Hello, World" color="Red"/> Rather than have a gigantic switch statement look f...
Switchboard asked 16/12, 2008 at 21:1

3

Possible duplicate How to make custom brush for canvas in android? Hello friends, I am too stuck to create this type of brush for paint application, but didn't find anything related to this. I a...
Njord asked 19/1, 2012 at 10:47

4

In an object I store line chart made with d3.js, which have possibility to brush selected area. Selected area is removed when I click outside selected part of line chart. I'd like to remove selec...
Cowgill asked 8/8, 2013 at 20:16

4

Is there a way to limit the size of a brush, even though the extent is larger? I put together a brush with only an x-scale that can be moved and resized. I would like to be able to limit the exten...
Milissa asked 10/9, 2012 at 15:22

3

I'm trying to paint a background of my WPF window using LinearGradientBrush, however my code doesn't work. Here is the code LinearGradientBrush gradientBrush = new LinearGradientBrush( Color.FromA...
Wish asked 11/9, 2011 at 20:40

3

Solved

I think that the title is clear ! What I have now is : System.Drawing.Color uiui = System.Drawing.ColorTranslator.FromHtml(myString); var intColor = (uint)((uiui.A << 24) | (uiui.R <<...
Teodora asked 7/2, 2012 at 15:20

2

Solved

I am using d3.js, and I'm working on a brushed area chart by modifying this example. In addition to the x-axis changing based on the brush, I'd like chart's y-axis to be redrawn, based on the y-val...
Dilks asked 20/12, 2012 at 15:19

0

I ma working on app that has brush tool. I need create brush like in Instagram. Currently I am using Shadow to create such glow effect. But I can't set such shadow effect. let startPoint = conve...
Dopey asked 19/6, 2017 at 8:23

3

Solved

I am creating a paint app and I want to know how to implement the eraser tool. I don't want to have my eraser tool to paint white color because I want to allow users to change the background color....
Rosio asked 19/4, 2012 at 12:11

4

Solved

How to get the following brush smoothness(hardness) effect like photoshop? My attempt: CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSaveGState(context); CGContextSetLineCap(co...
Preponderance asked 14/8, 2012 at 4:18

2

Solved

I am working on this plnkr. I have three lines at angle 30, 45 and 60. I want to apply a brush on these lines so that when the chart is brushed the lines get redrawn at where it crossed the brushed...
Marinemarinelli asked 24/9, 2015 at 0:35

3

I managed to find out how to make a WPF animation - transition between two colors. It's called ColorAnimation and works well. ColorAnimation animation = new ColorAnimation { From = Colors.DarkGr...
Vizier asked 11/11, 2011 at 16:17

2

Solved

How can I create a brush (DrawingBrush) for stripes as shown in the blog: http://blog.pixelingene.com/2008/09/quick-tip-to-get-a-striped-background/ I can't use it because it uses scale transfor...
Revoke asked 3/8, 2012 at 17:14

3

Solved

I'm having trouble to find the best way to draw the below shape. I'm using the below code to draw an Ellipse on visual layer. But how can I only brush the quarters? I think it can be done using L...
Bipartite asked 17/5, 2014 at 9:28

1

Solved

I know that I can draw a filled circle and I can draw many simple and complicated things with a Graphics. But I couldn't get it to draw a single point (not a single pixel). I'm playing with a Pain...
Mystery asked 31/3, 2014 at 14:2

2

Solved

I need to add typical finger drawing to an app. (The usual.... choose colors, erase, thickness - just the usual you see in every app made.) It's hard to believe I have to program this from scratc...
Phyl asked 25/11, 2013 at 21:11

1

Solved

I am trying to get brushing to work similar to this example, but with a grouped bar chart: http://bl.ocks.org/mbostock/1667367 I don't really have a good understanding of how brushing works (I hav...
Marva asked 31/1, 2014 at 16:41

1

Solved

I'm having a problem in getting D3 to perform proper brushing when zooming is performed. I have a jsFiddle created here http://jsfiddle.net/Gwp25/2/ showing the network with some dummy data I fou...
Witchcraft asked 3/1, 2014 at 1:4

0

I've been looking at the simple map demos. http://bl.ocks.org/mbostock/2206340 Keen to create a more sophisticated zoom/brush method using a mini map or a brush as opposed to rely on zoom event...
Cardiac asked 18/12, 2013 at 23:57

1

Solved

The docs go right into the details of using the "brush" API without ever describing what a "brush" is. I can make my own educateded guesses, of course, based on the examples given in that page, bu...
Implead asked 26/10, 2013 at 18:18

1

Solved

I'm using the Color.FromArgb to for determining the brush color. Using this for examplePen p= new Pen(new SolidColorBrush(Color.FromArgb(95, 255, 0, 0)), 6); the problem with this is that I want to...
Agriculture asked 16/9, 2013 at 6:34

© 2022 - 2025 — McMap. All rights reserved.