Ver código fonte

设置为白色背景

jsonwang 3 anos atrás
pai
commit
1085298f3b

+ 1 - 1
BFFramework/Classes/PQGPUImage/Source/iOS/RenderView.swift

@@ -14,7 +14,7 @@ public protocol RenderViewDelegate: class {
 public class RenderView: UIView, ImageConsumer {
     public weak var delegate: RenderViewDelegate?
 
-    public var backgroundRenderColor = Color.black
+    public var backgroundRenderColor = Color.white
     public var fillMode = FillMode.preserveAspectRatio
     public var orientation: ImageOrientation = .portrait
     public var sizeInPixels: Size { return Size(width: Float(frame.size.width * contentScaleFactor), height: Float(frame.size.height * contentScaleFactor)) }