Lines Matching refs:height
5 const [{ height, width }, setLayout] = React.useState({
6 height: 1, property
12 … return getLinearGradientBackgroundImage(colors, locations, startPoint, endPoint, width, height);
13 }, [colors, locations, startPoint, endPoint, width, height]);
19 const { width, height } = event.nativeEvent.layout;
22 if (width !== oldLayout.width || height !== oldLayout.height) {
23 return { height, width };
35 … getLinearGradientBackgroundImage(colors, locations, startPoint, endPoint, width = 1, height = 1) { argument
37 const angle = calculatePseudoAngle(width, height, startPoint, endPoint);
40 function calculatePseudoAngle(width, height, startPoint, endPoint) { argument
61 start[1] *= height;
62 end[1] *= height;