xml - Android: Vector Triangle with background Image -


im trying set image within boundaries of triangle - set vector.

with ease created vectortriangle im looking solution cut image same size , mould it.

first approach did "shape-coords" (pathdata) of triangle. these thought "cut" image , place behind vector. seems dead end. theres no way mould image of pathdata.

i know techniques shapes (circles, rects(bitmaps)) none of them helpful vectors.

is there idea realize that? didnt see yet?

example image (center triangle)

you can add image in background , put triangle src of imageview. point noted triangle should transparent in center result make background visible.


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -