(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[88663],{1480:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/en-US/apis/rendering/watermark/watermark-rotation",function(){return r(82221)}])},82221:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,useTOC:()=>l});var a=r(52676),n=r(96933),i=r(78033),o=r(30805),s=r(87359),d=r(12602),m=r(75520);function l(e){return[]}let c=(0,n.c)(function(e){let t={code:"code",p:"p",...(0,o.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.Z,{title:"Watermark Rotation",param:"mark-rot"}),"\n",(0,a.jsx)(t.p,{children:"Rotates the watermark image by degrees according to the value specified."}),"\n",(0,a.jsxs)(t.p,{children:["Valid values are in the range ",(0,a.jsx)(t.code,{children:"0"})," – ",(0,a.jsx)(t.code,{children:"359"}),", and rotation is counter-clockwise with ",(0,a.jsx)(t.code,{children:"0"})," (the default) at the top of the watermark image. The watermark will not be zoomed in or out. The rotated watermark may have new height and width, with corners filled with transparent background."]}),"\n",(0,a.jsx)(d.Z,{url:"https://static.imgix.net/treefrog.jpg",params:"mark=https://assets.imgix.net/gearbox/logo.png&mark-rot=30&mark-w=111&mark-tile=grid&locked=mark,mark-w",locked:"mark,mark-w"}),"\n",(0,a.jsx)(m.Z,{})]})},"/en-US/apis/rendering/watermark/watermark-rotation",{filePath:"pages/en-US/apis/rendering/watermark/watermark-rotation.mdx",timestamp:172930614e4,pageMap:i.v,frontMatter:{title:"Watermark Rotation",param:"mark-rot",description:"Rotates a watermark or tiled watermarks by a specified number of degrees"},title:"Watermark Rotation"},"undefined"==typeof RemoteContent?l:RemoteContent.useTOC)},12602:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var a=r(52676),n=r(75271);let i=!1,o=null,s=function(e){return(0,n.useEffect)(()=>(i||((o=document.createElement("script")).src="https://gearbox.imgix.com/dist/embed.js",o.defer=!0,document.head.appendChild(o),i=!0),()=>{o&&o.parentNode&&(o.parentNode.removeChild(o),o=null,i=!1)}),[]),(0,a.jsx)("div",{className:"max-w-[619px] min-h-[400px]",children:(0,a.jsx)("div",{className:"shadow-lg mt-6 max-w-[619px]",gearbox:"true","gearbox-url":e.url,"gearbox-params":e.params,"gearbox-locked":e.locked||""})})}},87359:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(52676);r(75271);let n=function(e){let{title:t,param:r}=e;return(0,a.jsxs)("div",{className:"flex flex-wrap items-baseline mt-2",children:[(0,a.jsx)("h1",{className:"flex-shrink min-w-0 text-4xl font-bold tracking-[-.015em] leading-[54px] text-[#16232d] dark:text-[#F1F5F9]",children:t}),r&&(0,a.jsx)("h2",{className:"flex-shrink-0 text-4xl text-imgix-orange font-code pl-4 ml-4 border-l-2 border-gray-300 dark:border-gray-700",children:r})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[96933,75520,78033,92888,49774,40179],()=>t(1480)),_N_E=e.O()}]);