You can paint surfaces that hold magic spells. You can make any painting function as a Glyph of Warding with any known spell stored within if you expend the mana required for that spell while painting.
The Ability, Spell, or Effect cannot be enchanted onto an object.