Questions tagged [clip]

Clipping is restricting the surface on which a drawing is made

Clipping is restricting the surface on which a drawing is made Clipping can also include gaps in a surface. Clips can be rectangle, ellipse, or any other kind of geometry depending on the support of the graphical engine

732 questions
0
votes
1 answer

How do I prevent PowerCharts from truncating axis labels?

In the Flash version of PowerCharts' ErrorLine chart, the rightmost X axis label is clipped if there are too many categories in the chart. Is there a way to stop PowerCharts from clipping the rightmost X axis label, or is this a bug in…
Michael Calvin
  • 117
  • 1
  • 2
  • 8
0
votes
1 answer

Clip to image mask with Cocoa

I'm trying to implement a tabbar similar to the ones in XCode 4: I could implement a simple tab control with custom images, but I'd like to apply that inner shadow effect programmatically. I'd like to supply simple icons only using one color…
DrummerB
  • 39,814
  • 12
  • 105
  • 142
0
votes
1 answer

Can we use the Clip library in java to play the song at a different frequency

I know we can use Clip to play a song using clip.start(). However, is there a function in Clip that allows us to play the song at a different frequency from the original song?
Programmer
  • 6,565
  • 25
  • 78
  • 125
-1
votes
1 answer

How to achieve moving circle images in html canvas

I am trying to draw several circular images on an html canvas. For each of my pictures I do the following: context.beginPath(); context.arc(ball.x, ball.y, ball.radius, 0, Math.PI * 2, true); context.closePath(); context.drawImage(images[i], ball.x…
Althea
  • 29
  • 6
-1
votes
3 answers

How to create a widget from a part of image in Flutter?

I have an image (blue rect). I want to cut a part of the image by path (red triangle) and create a smaller widget (green rect) that shows this part of the image and has size which equals bounds of cutting path. How can I do it in Flutter? I tried…
acbelter
  • 447
  • 5
  • 10
-1
votes
1 answer

how to handle every (polygon) item in a shapefile as single geometry?

import of packages: from rasterio.mask import mask import geopandas as gpd opened a shapefile: gdf = gpd.read_file(shpfilepath+clipshape) and opened a rasterfile: img =…
-1
votes
1 answer

Clipping geodataframe points by raster extent in Python

Background Thanks to the kind souls who answered my previous question here: Faster methods to create geodataframe from a Dask or Pandas dataframe, I have successfully imported my massive block model as a geodataframe. This was done with the…
-1
votes
1 answer

Why does the sound doesnt plays in java

import java.io.File; import java.io.IOException; class Learning { public static void main(String[] args) throws SecurityException, IllegalStateException, UnsupportedAudioFileException, …
-1
votes
1 answer

Clippingmask from text and its parent div

I've seen a few people ask this question, but it's always closed and redirected to a similar question (that is different). The question is: How do you make a clipping mask from text and the closest parent div of the text element? Not to confuse with…
imbatman
  • 3
  • 3
-1
votes
1 answer

How to detect the changes of system clipboard with nodejs

I want to detect the clipboard in my electron app. Know someone who can answer?
-1
votes
1 answer

How to clip semi circle at top center of ImageView(Android)

I need to clip a semi circle at top center of the ImageView like in the cd cover below As I didn't worked on canvas in Android,I have no idea to achieve this!
Gugan Sakthivel
  • 61
  • 1
  • 10
-1
votes
2 answers

Crop Imageview and apply Rounded Corner with Textview

Kindly help me on this to crop the imageview and textview with rounded corner in android. (Eg: Attached sample image)
PrasathBabu
  • 4,716
  • 4
  • 19
  • 35
-1
votes
1 answer

Background image with a colored curved border at the bottom

I am trying to achieve this with css3, I tried using border-radius with percent values and it's not the same always, I always got a rounded corners and the border will start disappearing on the corners too. I want it to be exactly the same as the…
Mohamed Ettayeb
  • 139
  • 1
  • 1
  • 10
-1
votes
1 answer

Error in PHP / MySQL Output

I am trying to fetch my database results but it's not displaying any content. Please help me to find the error: PDO::ERRMODE_EXCEPTION)); …
-1
votes
1 answer

CSS : background-clipping regarding to above elements?

I have this layout on my HTML-page : page layout It's a form with checkboxes (which are hidden) and the labels are styled to look like buttons (white border and transparent background to show the gradient below). The gradient part is the…
1 2 3
48
49