# ofxMask **Repository Path**: y0/ofxMask ## Basic Information - **Project Name**: ofxMask - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-02-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ofxMask ====================== an easy way to mask how to use ------ ofxMask mask; // creating masker texture mask.beginMask(); // draw masker here in gray scale ofSetColor(255); ofRect(100, 200, 100, 50); ofSetColor(128); // more black, more transparent ofEllipse(250, 100, 150, 150); mask.endMask(); // creating maskee texture mask.begin(); // draw maskee here sometexture.draw(); mask.end(); // draw result mask.draw(); use ` beginMask(false) ` and ` begin(false) ` not to clear textures.