Pretty easy for a material (texture image) ... create a custom image that maps exactly onto the mesh. But, don't know of a way to do it with fills... Or of any way to do it dynamically as a mesh shape is changed...
Karl
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB