问题标签 [stretching]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
jasper-reports - JasperReports Subreport Stretching
I'm trying to create an xls-report with JasperReports. For that I use JasperReports 5.5.0 (and iReport in the same version) and apache poi 3.9.
The base structure is a master-report with a subreport and this subreport also contains another subreport. For better understanding some code samples:
Masterreport:
Subreport 1:
The second subreport looks almost the same like the first one.
My problem is, that if the row height of the master is larger than the whole band height of a subreport, the subreport won't stretch its band height to the masters row height. I know it has to be just a simple combination of settings, but I can't find it.
ios - IOS。复杂的拉伸?
我想使用 2 个拉伸区域拉伸图像。所以我需要实现这样的目标:
但默认情况下,在 iOS 中我只能定义一个矩形。
当每个图像只有一个矩形时,是否可以在不切割成 2 个单独图像的情况下解决这个问题?
javascript - HTML5/ Javascript - 拉伸图像源
嗨,我从网络摄像头获取图像并将其保存在画布上,我想做的是通过 x 和 y 坐标拉伸它,保持相同的 img 尺寸,我的意思是,这是原始的网络摄像头图片:
这就是我想要拉伸时的样子:
这是<img>
在 html 中将源图像显示为元素的代码,因此我必须先拉伸源图像才能在 html 中显示它
关于如何canvas.toDataUrL()
通过 x 和 y 坐标拉伸源并将其返回到 src<img>
元素的任何想法?
imo的真正问题是如何在不改变宽度和高度的情况下拉伸图像(如上面的示例照片所示),这可能吗?
android - android视图寻呼机图像被拉伸
- 我已将初始屏幕图像添加为初始活动的窗口背景图像。
- 我的初始图像与演练屏幕中的第一张图像相同。
- 演练屏幕有一个带有 5 个图像视图的视图寻呼机。
现在我正在尝试从初始屏幕添加淡入淡出动画以打开演练活动。
这里的问题是我在飞溅和演练中使用的图像(第一张图片)是相同的。但是与飞溅相比,演练中的图像变得越来越长。
如何在演练屏幕中显示与启动屏幕相同的图像而不会被拉伸。
代码:1.我在演练活动中查看寻呼机代码
Viewpager 适配器代码
}
启动主题中使用的启动画面窗口背景代码:
"<"style name="SplashTheme" parent="@android:style/Theme.NoTitleBar" "<"item name="android:windowBackground">@drawable/screen1"<"/item> "<"item name=" android:windowNoTitle">true"<"/item> "<"/style> "
c# - WP8中间的图片,
请告诉我,我怎样才能将图像放在中间?拉伸:均匀填充。我想把焦点放在图片的中间
android - Gridview 更靠近屏幕左侧对齐
我在 FrameLayout 中有一个 GridView,如下所示:
如图所示,数字更靠近屏幕左侧对齐。我试图让数字更接近,以便我可以解决问题,但失败了。使用诸如“columnWidth”和“none”之类的stretchMode 无法解决我的问题。请建议我任何可以在背景白色区域内放置数字的方法。
.xml 文件:
css - bootstrap button: Stretch to fill its container space
I'm using bootstrap buttons, I would like to stretch the dropdown button in the middle to fill the rest of the toolbar space.
HTML (shortened code):
css:
I have tried the class "btn-group-jastified" but it didn't work at all.
any ideas?
c# - 仅使用 C# 在某些坐标上挤压和拉伸图像
我需要按一定比例拉伸和挤压图像,如下图所示,是否可以使用 asp.net C# 来做到这一点,或者是否有任何图像工具可以做到这一点。
c++ - C++ 拉伸均衡图像
从(2)均衡图像我必须创建(3)。
- 原图:http: //i.imgur.com/X5MKF6z.jpg
- 均衡图像:http: //i.imgur.com/oFBVUJp.png
- 均衡和拉伸图像:http: //i.imgur.com/V7jeaRQ.png
使用 OpenCV,我可以使用 equalizeHist() 来进行均衡和拉伸。
因此,如果不使用 OPENCV,我如何从均衡图像中进行拉伸。均衡部分在下面完成。