Issue #5933: setClippingType (only STENCIL of canvas)

setClippingType (only STENCIL of canvas)