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

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -