import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const RulerCrossPen = (allProps: IconProps) => { const { svgProps: props, iconStyle, ...restProps } = allProps; const styles: { [style: string]: React.ReactNode } = { Broken: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M13.254 19.424a.75.75 0 0 0-1.061 1.061l1.06-1.06ZM15.616 22v-.75.75ZM4.046 5.492l.53.53-.53-.53Zm-.531 6.315a.75.75 0 1 0 1.06-1.06l-1.06 1.06Zm7.762-7.762.53.53a.75.75 0 0 0 0-1.06l-.53.53Zm-5.785 0-.53-.53.53.53Zm14.463 8.678.53-.53a.75.75 0 0 0-1.06 0l.53.53ZM22 15.616h.75H22ZM8.336 5.926a.75.75 0 0 0 1.06 1.06l-1.06-1.06Zm8.678 8.677a.75.75 0 0 0 1.06 1.061l-1.06-1.06Zm1.473 6.431a.75.75 0 0 0-1.053-1.068l1.053 1.068Zm1.44-3.561a.75.75 0 1 0 1.068 1.054l-1.068-1.054ZM4.961 3.515 3.515 4.961l1.06 1.061 1.447-1.446-1.06-1.061Zm7.232 16.97c.667.667 1.219 1.221 1.715 1.6.514.392 1.054.665 1.708.665v-1.5c-.194 0-.418-.068-.798-.358-.397-.303-.868-.77-1.564-1.468l-1.061 1.061ZM3.515 4.961c-.667.667-1.221 1.22-1.6 1.716-.392.513-.665 1.054-.665 1.707h1.5c0-.193.068-.417.358-.797.303-.398.77-.868 1.468-1.565l-1.061-1.06Zm1.06 5.785C3.88 10.05 3.412 9.58 3.109 9.182c-.29-.38-.358-.604-.358-.798h-1.5c0 .654.273 1.194.665 1.708.379.496.933 1.048 1.6 1.715l1.06-1.06Zm7.232-7.231c-.667-.667-1.219-1.221-1.715-1.6-.514-.392-1.054-.665-1.708-.665v1.5c.194 0 .418.068.798.358.397.303.868.77 1.564 1.468l1.061-1.061Zm-5.785 1.06c.697-.696 1.167-1.164 1.565-1.467.38-.29.604-.358.797-.358v-1.5c-.653 0-1.194.273-1.707.665-.497.379-1.049.933-1.716 1.6l1.061 1.06Zm13.402 8.679c.697.696 1.165 1.167 1.468 1.564.29.38.358.604.358.798h1.5c0-.654-.273-1.194-.665-1.708-.379-.496-.933-1.048-1.6-1.715l-1.06 1.06Zm-8.678-9.739-2.41 2.41 1.06 1.061 2.411-2.41-1.06-1.061Zm8.678 8.678-2.41 2.41 1.06 1.061 2.411-2.41-1.06-1.061Zm-1.99 7.773c-.51.502-.87.831-1.175 1.038-.287.195-.475.246-.643.246v1.5c.557 0 1.034-.199 1.485-.504.432-.293.881-.714 1.386-1.212l-1.053-1.068Zm3.56-1.439c.51-.516.94-.972 1.24-1.41.312-.454.516-.937.516-1.501h-1.5c0 .17-.052.36-.253.654-.214.311-.553.68-1.07 1.203l1.068 1.054Z" fill="currentColor" /><path d="m14.36 4.079.927-.927a3.932 3.932 0 0 1 5.561 5.561l-.927.927m-5.56-5.561s.115 1.97 1.853 3.707C17.952 9.524 19.92 9.64 19.92 9.64m-5.56-5.561L12 6.439m7.921 3.2-5.26 5.262L11.56 18l-.16.161c-.578.577-.867.866-1.185 1.114a6.554 6.554 0 0 1-1.211.749c-.364.173-.751.302-1.526.56l-3.281 1.094m0 0-.802.268a1.06 1.06 0 0 1-1.342-1.342l.268-.802m1.876 1.876-1.876-1.876m0 0 1.094-3.281c.258-.775.387-1.162.56-1.526.205-.43.456-.836.749-1.211.248-.318.537-.607 1.114-1.184L8.5 9.939" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path opacity={0.5} d="M13.254 19.424a.75.75 0 0 0-1.061 1.061l1.06-1.06Zm5.254.53.53.531-.53-.53ZM4.045 5.493l.53.53-.53-.53Zm-.53 6.315a.75.75 0 1 0 1.06-1.06l-1.06 1.06Zm7.762-7.762.53.53a.75.75 0 0 0 0-1.06l-.53.53Zm-5.785 0-.53-.53.53.53Zm14.463 8.678.53-.53a.75.75 0 0 0-1.06 0l.53.53Zm0 5.785-.53-.53.53.53ZM8.336 5.926a.75.75 0 0 0 1.06 1.06l-1.06-1.06Zm8.678 8.677a.75.75 0 0 0 1.06 1.061l-1.06-1.06ZM4.96 3.515 3.515 4.961l1.06 1.061 1.447-1.446-1.06-1.061Zm14.078 16.97 1.446-1.446-1.06-1.061-1.447 1.446 1.06 1.061Zm-6.846 0c.667.667 1.219 1.221 1.715 1.6.514.392 1.054.665 1.708.665v-1.5c-.194 0-.418-.068-.798-.358-.397-.303-.868-.77-1.564-1.468l-1.061 1.061Zm5.785-1.06c-.697.696-1.167 1.164-1.565 1.467-.38.29-.604.358-.797.358v1.5c.653 0 1.194-.273 1.707-.665.497-.379 1.049-.933 1.716-1.6l-1.061-1.06ZM3.515 4.96c-.667.667-1.221 1.22-1.6 1.716-.392.513-.665 1.054-.665 1.707h1.5c0-.193.068-.417.358-.797.303-.398.77-.868 1.468-1.565l-1.061-1.06Zm1.06 5.785C3.88 10.05 3.412 9.58 3.109 9.182c-.29-.38-.358-.604-.358-.798h-1.5c0 .654.273 1.194.665 1.708.379.496.933 1.048 1.6 1.715l1.06-1.06Zm7.232-7.231c-.667-.667-1.219-1.221-1.715-1.6-.514-.392-1.054-.665-1.708-.665v1.5c.194 0 .418.068.798.358.397.303.868.77 1.564 1.468l1.061-1.061Zm-5.785 1.06c.697-.696 1.167-1.164 1.565-1.467.38-.29.604-.358.797-.358v-1.5c-.653 0-1.194.273-1.707.665-.497.379-1.049.933-1.716 1.6l1.061 1.06Zm13.402 8.679c.697.696 1.165 1.167 1.468 1.564.29.38.358.604.358.798h1.5c0-.654-.273-1.194-.665-1.708-.379-.496-.933-1.048-1.6-1.715l-1.06 1.06Zm1.061 5.785c.667-.667 1.221-1.22 1.6-1.716.392-.513.665-1.054.665-1.707h-1.5c0 .193-.068.417-.358.797-.303.398-.77.868-1.468 1.565l1.061 1.06ZM10.746 3.515l-2.41 2.41 1.06 1.061 2.411-2.41-1.06-1.061Zm8.678 8.678-2.41 2.41 1.06 1.061 2.411-2.41-1.06-1.061Z" fill="currentColor" /><path d="M4.198 21.678 5 21.411l2.48-.827c.774-.258 1.16-.387 1.525-.56.43-.205.836-.456 1.211-.749.318-.248.607-.537 1.184-1.114l8.521-8.521.927-.927a3.932 3.932 0 0 0-5.561-5.561l-.927.927-8.521 8.52c-.577.578-.866.867-1.114 1.185a6.556 6.556 0 0 0-.749 1.211c-.173.364-.302.752-.56 1.526L2.589 19l-.267.802m1.876 1.876-.802.268a1.06 1.06 0 0 1-1.342-1.342l.268-.802m1.876 1.876-1.876-1.876" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="M14.36 4.079s.116 1.97 1.854 3.707C17.952 9.524 19.92 9.64 19.92 9.64" stroke="currentColor" strokeWidth={1.5} /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M13.254 19.424a.75.75 0 0 0-1.061 1.061l1.06-1.06Zm5.254.53.53.531-.53-.53ZM4.045 5.493l.53.53-.53-.53Zm-.53 6.315a.75.75 0 1 0 1.06-1.06l-1.06 1.06Zm7.762-7.762.53.53a.75.75 0 0 0 0-1.06l-.53.53Zm-5.785 0-.53-.53.53.53Zm14.463 8.678.53-.53a.75.75 0 0 0-1.06 0l.53.53Zm0 5.785-.53-.53.53.53ZM8.336 5.926a.75.75 0 0 0 1.06 1.06l-1.06-1.06Zm8.678 8.677a.75.75 0 0 0 1.06 1.061l-1.06-1.06ZM4.96 3.515 3.515 4.961l1.06 1.061 1.447-1.446-1.06-1.061Zm14.078 16.97 1.446-1.446-1.06-1.061-1.447 1.446 1.06 1.061Zm-6.846 0c.667.667 1.219 1.221 1.715 1.6.514.392 1.054.665 1.708.665v-1.5c-.194 0-.418-.068-.798-.358-.397-.303-.868-.77-1.564-1.468l-1.061 1.061Zm5.785-1.06c-.697.696-1.167 1.164-1.565 1.467-.38.29-.604.358-.797.358v1.5c.653 0 1.194-.273 1.707-.665.497-.379 1.049-.933 1.716-1.6l-1.061-1.06ZM3.515 4.96c-.667.667-1.221 1.22-1.6 1.716-.392.513-.665 1.054-.665 1.707h1.5c0-.193.068-.417.358-.797.303-.398.77-.868 1.468-1.565l-1.061-1.06Zm1.06 5.785C3.88 10.05 3.412 9.58 3.109 9.182c-.29-.38-.358-.604-.358-.798h-1.5c0 .654.273 1.194.665 1.708.379.496.933 1.048 1.6 1.715l1.06-1.06Zm7.232-7.231c-.667-.667-1.219-1.221-1.715-1.6-.514-.392-1.054-.665-1.708-.665v1.5c.194 0 .418.068.798.358.397.303.868.77 1.564 1.468l1.061-1.061Zm-5.785 1.06c.697-.696 1.167-1.164 1.565-1.467.38-.29.604-.358.797-.358v-1.5c-.653 0-1.194.273-1.707.665-.497.379-1.049.933-1.716 1.6l1.061 1.06Zm13.402 8.679c.697.696 1.165 1.167 1.468 1.564.29.38.358.604.358.798h1.5c0-.654-.273-1.194-.665-1.708-.379-.496-.933-1.048-1.6-1.715l-1.06 1.06Zm1.061 5.785c.667-.667 1.221-1.22 1.6-1.716.392-.513.665-1.054.665-1.707h-1.5c0 .193-.068.417-.358.797-.303.398-.77.868-1.468 1.565l1.061 1.06ZM10.746 3.515l-2.41 2.41 1.06 1.061 2.411-2.41-1.06-1.061Zm8.678 8.678-2.41 2.41 1.06 1.061 2.411-2.41-1.06-1.061Z" fill="currentColor" /><path d="m14.36 4.079.927-.927a3.932 3.932 0 0 1 5.561 5.561l-.927.927m-5.56-5.561s.115 1.97 1.853 3.707C17.952 9.524 19.92 9.64 19.92 9.64m-5.56-5.561-8.522 8.52c-.577.578-.866.867-1.114 1.185a6.556 6.556 0 0 0-.749 1.211c-.173.364-.302.752-.56 1.526L2.589 19l-.267.802m17.6-10.162L11.4 18.16c-.577.577-.866.866-1.184 1.114a6.554 6.554 0 0 1-1.211.749c-.364.173-.751.302-1.526.56L5 21.411l-.802.267m0 0-.802.268a1.06 1.06 0 0 1-1.342-1.342l.268-.802m1.876 1.876-1.876-1.876" stroke="currentColor" strokeWidth={1.5} /></svg>, Outline: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path fillRule="evenodd" clipRule="evenodd" d="M7.587 3.108c-.398.303-.868.77-1.565 1.468L4.576 6.022c-.697.697-1.165 1.167-1.468 1.565-.29.38-.358.604-.358.797 0 .194.068.418.358.798.303.397.77.868 1.468 1.564a.75.75 0 0 1-1.06 1.061l-.038-.037c-.65-.65-1.191-1.191-1.563-1.678-.392-.514-.665-1.054-.665-1.708 0-.653.273-1.194.665-1.707.372-.487.913-1.028 1.563-1.679l.037-.037 1.446-1.446.037-.037c.65-.65 1.192-1.191 1.679-1.563.513-.392 1.054-.665 1.707-.665.654 0 1.194.273 1.708.665.487.372 1.028.913 1.678 1.563l.037.037a.75.75 0 0 1 0 1.06l-2.41 2.411a.75.75 0 1 1-1.061-1.06l1.879-1.88c-.42-.414-.746-.72-1.033-.938-.38-.29-.604-.358-.798-.358-.193 0-.417.068-.797.358Zm12.368 8.865c.199 0 .39.08.53.22l.037.037c.65.65 1.191 1.191 1.563 1.678.392.514.665 1.054.665 1.708 0 .653-.273 1.194-.665 1.707-.372.487-.913 1.028-1.563 1.679l-1.52 1.52c-.65.65-1.192 1.191-1.679 1.563-.513.392-1.054.665-1.707.665-.654 0-1.194-.273-1.708-.665-.487-.372-1.028-.913-1.678-1.563l-.037-.037a.75.75 0 0 1 1.06-1.06c.697.696 1.168 1.164 1.565 1.467.38.29.604.358.798.358.194 0 .417-.068.797-.358.398-.303.868-.77 1.565-1.468l1.446-1.446c.697-.697 1.165-1.167 1.468-1.565.29-.38.358-.604.358-.797 0-.194-.068-.418-.358-.798-.219-.287-.523-.612-.939-1.033l-1.878 1.879a.75.75 0 0 1-1.061-1.06l2.41-2.411a.75.75 0 0 1 .53-.22ZM14.757 2.621a4.682 4.682 0 0 1 6.622 6.622l-9.486 9.486c-.542.542-.86.86-1.216 1.137-.418.327-.87.607-1.35.835-.406.193-.834.336-1.56.578l-3.332 1.11-.802.268a1.81 1.81 0 0 1-2.29-2.29l1.378-4.133c.242-.727.385-1.155.578-1.562.229-.479.508-.931.835-1.35.276-.354.595-.673 1.137-1.215l9.486-9.486Zm5.56 1.061a3.182 3.182 0 0 0-4.5 0l-.662.662c.035.175.092.413.189.69a5.857 5.857 0 0 0 1.4 2.222 5.857 5.857 0 0 0 2.221 1.4c.278.097.516.154.691.189l.662-.662a3.182 3.182 0 0 0 0-4.5Zm-1.878 6.38a7.36 7.36 0 0 1-2.755-1.745 7.358 7.358 0 0 1-1.745-2.756l-7.57 7.57c-.59.589-.84.84-1.053 1.114-.259.333-.481.692-.663 1.073-.149.313-.262.649-.526 1.44l-.947 2.841L4.4 20.82l2.842-.947c.791-.264 1.127-.377 1.44-.526.38-.182.74-.404 1.073-.663.273-.214.525-.463 1.115-1.053l7.57-7.57Z" fill="currentColor" /></svg>, Bold: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="m4.045 5.492 1.447-1.447C6.855 2.682 7.537 2 8.384 2s1.53.682 2.893 2.045l-2.41 2.41-4.822 4.822C2.682 9.913 2 9.23 2 8.384s.682-1.529 2.045-2.892ZM19.955 18.508l-1.447 1.447C17.145 21.318 16.463 22 15.616 22c-.848 0-1.53-.682-2.893-2.045l4.821-4.821 2.41-2.41C21.319 14.086 22 14.767 22 15.615c0 .847-.682 1.529-2.045 2.892ZM11.4 18.161l7.396-7.396a10.289 10.289 0 0 1-3.326-2.234 10.29 10.29 0 0 1-2.235-3.327L5.839 12.6c-.577.577-.866.866-1.114 1.184a6.556 6.556 0 0 0-.749 1.211c-.173.364-.302.752-.56 1.526l-1.362 4.083a1.06 1.06 0 0 0 1.342 1.342l4.083-1.362c.775-.258 1.162-.387 1.526-.56.43-.205.836-.456 1.211-.749.318-.248.607-.537 1.184-1.114ZM20.848 8.713a3.932 3.932 0 0 0-5.561-5.561l-.887.887.038.111a8.754 8.754 0 0 0 2.092 3.32 8.754 8.754 0 0 0 3.431 2.13l.887-.887Z" fill="currentColor" /></svg>, BoldDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path opacity={0.5} d="M20.849 8.713a3.932 3.932 0 0 0-5.562-5.561l-.887.887.038.111a8.754 8.754 0 0 0 2.093 3.32 8.754 8.754 0 0 0 3.43 2.13l.888-.887Z" fill="currentColor" /><path d="m14.439 4-.039.038.038.112a8.754 8.754 0 0 0 2.093 3.32 8.753 8.753 0 0 0 3.43 2.13l-8.56 8.56c-.578.577-.867.866-1.185 1.114a6.554 6.554 0 0 1-1.211.748c-.364.174-.751.303-1.526.561l-4.083 1.361a1.06 1.06 0 0 1-1.342-1.341l1.362-4.084c.258-.774.387-1.161.56-1.525.205-.43.456-.836.749-1.212.248-.318.537-.606 1.114-1.183L14.439 4Z" fill="currentColor" /><g opacity={0.5} fill="currentColor"><path d="M5.492 4.045 4.045 5.492C2.682 6.855 2 7.537 2 8.384s.682 1.53 2.045 2.893l1.558 1.558.236-.236 6.996-6.996-1.558-1.558C9.913 2.682 9.23 2 8.384 2s-1.529.682-2.892 2.045ZM18.396 11.164 11.4 18.16l-.236.236 1.56 1.559C14.086 21.318 14.767 22 15.615 22c.847 0 1.529-.682 2.892-2.045l1.447-1.447C21.318 17.145 22 16.463 22 15.616c0-.848-.682-1.53-2.045-2.893l-1.56-1.559Z" /></g><path d="m20.108 12.877-1.169 1.17A.75.75 0 0 0 20 15.106l1.15-1.15a27.803 27.803 0 0 0-1.041-1.08ZM9.766 2.613 8.439 3.939A.75.75 0 1 0 9.5 5l1.365-1.364c-.425-.423-.78-.763-1.1-1.022Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default RulerCrossPen