cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
hogi
Level XI

color of a Drag Marker?

How can i change the color of a Drag marker?

with a black & white background the black circles are hard to see:

hogi_0-1674797877131.png

 

View more...
Names Default To Here( 1 );

img = New Image( "https://www.nasa.gov/sites/default/files/styles/full_width_feature/public/thumbnails/image/hubble_leda48062_potw2302a.jpg" );

win = New Window( "marker",
V List Box (Text Box("black marker hardly visible"),
		g = Graph Box (
			Framesize( 600, 300 ),
			X Scale( 0, 1000 ),
			Y Scale( 0, 500 ), 
			Marker Size( 30 );
			Color State( {0, 1, 1} );
			Drag Marker( [500], [200], showpoints = 0, showpoints = 1 );
		) )

);

imgBox = win[framebox( 1 )];
imgBox << AddImage( Image( img ), bounds( Left( 0 ), Right( 1000 ), top( 500 ), bottom( 0 ) ) );
imgSeg = imgBox << FindSeg( PictSeg( 1 ) );
imgSeg << lock( 1 );

 

1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XI

Re: color of a Drag Marker?

2 REPLIES 2

Re: color of a Drag Marker?

You can't.

hogi
Level XI

Re: color of a Drag Marker?